diff options
Diffstat (limited to 'views')
| -rwxr-xr-x | views/home.ejs | 3 | ||||
| -rw-r--r-- | views/projects/list-projects.ejs | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/views/home.ejs b/views/home.ejs index 97d59dc..45a6e6f 100755 --- a/views/home.ejs +++ b/views/home.ejs @@ -25,6 +25,9 @@ <h1>Room Showcase</h1> <table class="showcase"> + [[ include projects/list-projects ]] + + <tr> <td class="border room1"> <a href="/" class="roomName">Pace Gallery • 7.1.14</a> diff --git a/views/projects/list-projects.ejs b/views/projects/list-projects.ejs index 2c12af0..205e778 100644 --- a/views/projects/list-projects.ejs +++ b/views/projects/list-projects.ejs @@ -1,5 +1,5 @@ [[ if (projects.length) { ]] - <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 && "s" ]]</h1> + <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1> <table> <tr> |
