summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-10-07 17:26:29 -0400
committerJules Laplace <jules@okfoc.us>2014-10-07 17:26:29 -0400
commiteb1d33b2c32c15821a6307306ca46fda262eb8b9 (patch)
treeb30438c57ebc3db196d8942f463f90c263d7d3af
parent670dd8a7446060ceb9580350fa1c9c398183d7b3 (diff)
no projects
-rw-r--r--views/profile.ejs10
1 files changed, 7 insertions, 3 deletions
diff --git a/views/profile.ejs b/views/profile.ejs
index 22c824c..b64e1d5 100644
--- a/views/profile.ejs
+++ b/views/profile.ejs
@@ -41,11 +41,15 @@
[[ if (projects.length) { ]]
<h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1>
- [[ } ]]
- [[ include projects/list-projects ]]
+ [[ include projects/list-projects ]]
- <a href="#" class="viewMore btn">view more</a>
+ <a href="#" class="viewMore btn">view more</a>
+ [[ } else { ]]
+ <h1>Welcome to VVALLS</h1>
+ <br><br>
+ You don't have any projects yet. To get started click "New Project" up at the top of the screen.
+ [[ } ]]
[[ include partials/edit-profile ]]
[[ include projects/layouts-modal ]]