summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ]]