summaryrefslogtreecommitdiff
path: root/views/profile.ejs
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-07-17 14:36:31 -0400
committerJules Laplace <jules@okfoc.us>2014-07-17 14:36:31 -0400
commit82b91286f9ccaa97c82730d17e15569aa982e04b (patch)
tree8a62b65c2e6f49c1052c8a978cb837942d8b8292 /views/profile.ejs
parentc175b8b78cad5424f81370e721277b18af6aff92 (diff)
parentaa42a633820d42fc2bc8d18d499eec559f2c43b7 (diff)
merge
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 ]]