summaryrefslogtreecommitdiff
path: root/views/profile.ejs
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2014-07-17 14:36:07 -0400
committerJulie Lala <jules@okfoc.us>2014-07-17 14:36:07 -0400
commitaa42a633820d42fc2bc8d18d499eec559f2c43b7 (patch)
tree66ecb3eb5cfd30cfd01fa4155f5140f1e1630536 /views/profile.ejs
parente5911a4760d62b803a166139835e661183850187 (diff)
fix index
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 ]]