summaryrefslogtreecommitdiff
path: root/views/profile.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/profile.ejs')
-rw-r--r--views/profile.ejs8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/profile.ejs b/views/profile.ejs
index 5ff2eb0..2909fb8 100644
--- a/views/profile.ejs
+++ b/views/profile.ejs
@@ -16,8 +16,10 @@
<div class="profilePic noPic">
<span class="holder">
<span class="ion-ios7-person-outline"></span>
- <div>click to add profile pic</div>
- <input id="profile_avatar" name="avatar" class="element file" type="file">
+ [[ if (isOwnProfile) { ]]
+ <div>click to add profile pic</div>
+ <input id="profile_avatar" name="avatar" class="element file" type="file">
+ [[ } ]]
</span>
</div>
[[ } ]]
@@ -57,12 +59,14 @@
VValls lets you create awesome 3D rooms.
</h2>
+ [[ if (isOwnProfile) { ]]
<h2>
You don't have any projects yet.
</h2>
<h2>
<a href="#"class="btn" data-role="new-project-modal">Create a New Project</a>
</h2>
+ [[ } ]]
</div>
[[ } ]]