From 5efb0ed941ed80136e63014c4f615574b2b613d7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 23 Jan 2015 17:58:41 -0500 Subject: edit subscription partial stub --- views/profile.ejs | 82 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 37 deletions(-) (limited to 'views/profile.ejs') diff --git a/views/profile.ejs b/views/profile.ejs index 88af6b0..e149847 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -9,48 +9,53 @@ [[- include partials/header ]]
- [[ if (profile.photo && profile.photo.length) { ]] -
-
- [[ } else { ]] -
- - - [[ if (isOwnProfile) { ]] -
click to add profile pic
- - [[ } ]] -
-
+ [[ if (profile.photo && profile.photo.length) { ]] +
+
+ [[ } else { ]] +
+ + + [[ if (isOwnProfile) { ]] +
click to add profile pic
+ [[ } ]] -
-
-

[[- profile.displayName ]]

- [[ if (profile.location) { ]] - - [[- profile.location ]] - - [[ } ]] - [[ if (profile.website && profile.website.length) { ]] - - [[- profile.website ]] - - [[ } ]] - [[ if (profile.twitterName && profile.twitterName.length) { ]] - - @[[- profile.twitterName ]] - - [[ } ]] -
-
- +
+
+ [[ } ]] +
+
+

[[- profile.displayName ]]

+ [[ if (profile.location) { ]] + + [[- profile.location ]] + + [[ } ]] + [[ if (profile.website && profile.website.length) { ]] + + [[- profile.website ]] + + [[ } ]] + [[ if (profile.twitterName && profile.twitterName.length) { ]] + + @[[- profile.twitterName ]] + + [[ } ]] + [[ if (profile.plan_level == 1) { ]] + PREMIUM + [[ } else if (profile.plan_level == 2) { ]] + PRO + [[ } ]] +
+
[[ if (projects.length) { ]] +

[[- profile.username ]] has [[- projectCount ]] project[[- projectCount != 1 ? "s" : "" ]]

- [[ include projects/list-projects ]] + [[ } else { ]] - +

Welcome to VVALLS

@@ -69,8 +74,11 @@

This person has no projects.

[[ } ]]
+ [[ } ]] -
+ + + [[ include partials/edit-subscription ]] [[ include partials/edit-profile ]] [[ include projects/layouts-modal ]] [[ include projects/edit-project ]] -- cgit v1.2.3-70-g09d2