summaryrefslogtreecommitdiff
path: root/views/profile.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/profile.ejs')
-rw-r--r--views/profile.ejs4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/profile.ejs b/views/profile.ejs
index 7bdbd51..8dd3c6d 100644
--- a/views/profile.ejs
+++ b/views/profile.ejs
@@ -38,6 +38,10 @@
</td>
</tr>
</table>
+
+ [[ if (projects.length) { ]]
+ <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1>
+ [[ } ]]
[[ include projects/list-projects ]]