diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-27 05:20:25 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-27 05:20:25 +0000 |
| commit | 6271b9d13139c1e55118e5f26a3a7bf8caeeb11d (patch) | |
| tree | afa1dd05c2686e534080473fb2693c1d521b49f6 /views | |
| parent | 95b90345d1d6a2cdf67cdae4b913268c609b2498 (diff) | |
Added exam following
Diffstat (limited to 'views')
| -rw-r--r-- | views/user_profile_alt.hbs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs index 7a61366..cf657db 100644 --- a/views/user_profile_alt.hbs +++ b/views/user_profile_alt.hbs @@ -88,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> |
