aboutsummaryrefslogtreecommitdiff
path: root/views/user_profile_alt.hbs
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-27 08:59:55 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-27 08:59:55 +0000
commit197e17a7bcbb5459897b7f334a790706c064c31c (patch)
treeaf4c3ebb095261dceac8fd00229d01bf1282f3d1 /views/user_profile_alt.hbs
parentb0cbe2db0ee3311fc028e7229749726d4cfe6973 (diff)
parent21a885311321299163b4cae69d672baaddfba37b (diff)
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'views/user_profile_alt.hbs')
-rw-r--r--views/user_profile_alt.hbs30
1 files changed, 17 insertions, 13 deletions
diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs
index 72baa86..cf657db 100644
--- a/views/user_profile_alt.hbs
+++ b/views/user_profile_alt.hbs
@@ -20,7 +20,8 @@
<ul class="nav navbar-nav " >
<li><a href="#" class="prf-page">General</a></li>
<li><a href="#" class="prf-page">Following</a></li>
- <li><a href="#" class="prf-page">Friends</a></li>
+ <!-- Not implemented -->
+ <!--<li><a href="#" class="prf-page">Friends</a></li> -->
<li><a href="#" class="prf-page">Send Message</a></li>
<li><a href="#" class="prf-page">Inbox</a></li>
<li><a href="#" class="prf-page">Comments</a></li>
@@ -37,13 +38,13 @@
<div class="panel-body">
<!--- User-Profile Pages -->
<div class="row" id="profile-general">
- <!-- User Image -->
- <div class="col-md-3 col-lg-3 " align="center">
+ <!-- User Image Not implemented -->
+ <!--<div class="col-md-3 col-lg-3 " align="center">
<img alt="User Pic" src="../assets/images/avatar.png"
class="img-circle img-responsive">
- </div>
+ </div> -->
<!-- User Details -->
- <div class=" col-md-9 col-lg-9 ">
+ <div>
<table class="table table-user-information">
<tbody>
<tr>
@@ -87,20 +88,20 @@
</div>
</div>
<div class="row" id="profile-follows">
- {{# if user.followers }}
- <h3>You are being followed by:</h3>
+ {{# if user.examfollows }}
+ <h4>Here are the exams you are following:</h4>
<div class="col-xs-offset-1 col-sm-offset-3 col-xs-10 col-sm-6">
<table class="table-condensed">
<tbody>
- {{# each user.followers}}
+ {{# each user.examfollows}}
<tr>
<th>
- <img class="img-circle img-responsive"
- src="../assets/images/misc/user1.jpeg" alt="avatar">
+ <a href="/questions/{{this._id}}">Course Code: {{this.course_code}}</a>
</th>
<th>
- <h4>The Dude</h4>
- <p>3 comments</p>
+ <h4>Term: {{this.term}}</h4>
+ <p>Year: {{this.year}}</p>
+ <p>Type: {{this.type}}</p>
</th>
</tr>
@@ -112,6 +113,9 @@
<h3>You are not following any exams.</h3>
{{/if}}
</div>
+
+ <!-- Friends not implemented -->
+ <!--
<div class="row" id="profile-friends">
<h3>Friends</h3>
<div class="col-xs-offset-1 col-sm-offset-3 col-xs-10 col-sm-6">
@@ -151,7 +155,7 @@
</table>
</div>
</div>
-
+ -->
<div class="row" id="profile-send-message">
{{# if messages.success }}
<section class="alert alert-success">