Created
April 23, 2015 11:29
-
-
Save ryanswrt/428872151318e80445eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template(name="Profile") | |
.sidebar-profile | |
+ProfileDetails | |
.main-profile | |
.feed-profile | |
+MainProfileContainer | |
.add-profile | |
+SideProfileContainer | |
.clear-fix | |
template(name="ProfileDetails") | |
.profile-box | |
+avatar user=user shape="circle" size='large' | |
h3 #{user.profile.first_name} #{user.profile.last_name} | |
h4 @#{user.username} | |
p #{user.profile.description} | |
if following user._id | |
a.btn.btn-white(onclick='Meteor.users.follow("{{user._id}}")') Unfollow | |
else | |
a.btn.btn-white(onclick='Meteor.users.follow("{{user._id}}")') Follow | |
template(name="MainProfileContainer") | |
each ideas | |
+IdeaCard | |
template(name="SideProfileContainer") | |
h3.header Interests | |
ul.tags | |
each user.profile.interests | |
li: a(href="#") #{title} | |
h3.header Skills | |
ul.tags | |
each user.profile.skills | |
li | |
a(href="#") #{this} | |
h3.header Achievements | |
ul.list | |
each user.profile.achievements | |
li | |
h4 #{title} | |
p {{formatDate date 'MMM YYYY'}} | |
h3.header Experience | |
ul.list | |
each user.profile.experience | |
li | |
h4 #{title} | |
p #{company} | |
p {{formatDate date_start 'YYYY'}} - {{formatDate date_end 'YYYY'}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment