diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-12-10 14:20:52 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-12-10 14:20:52 -0500 |
| commit | 6b665588eaf1690d6717edabe64882e091731117 (patch) | |
| tree | e072185a10e4335c541e3ea9ce423ee550ea9abf /views/profile.ejs | |
| parent | c423e246d4e18ce65861e384bee6c147aff79ddb (diff) | |
get accurate project count
Diffstat (limited to 'views/profile.ejs')
| -rw-r--r-- | views/profile.ejs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/profile.ejs b/views/profile.ejs index 5043df6..a62652c 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -46,7 +46,7 @@ [[ if (projects.length) { ]] - <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1> + <h1>[[- profile.username ]] has [[- projectCount ]] project[[- projectCount != 1 ? "s" : "" ]]</h1> [[ include projects/list-projects ]] [[ } else { ]] |
