From 5ae1a4bc73f34d3a8f83607b79fe20d4594238e6 Mon Sep 17 00:00:00 2001 From: nanalelfe Date: Mon, 25 Jul 2016 01:40:57 -0400 Subject: Populated profile page with comments --- views/user_profile_alt.hbs | 63 +++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 31 deletions(-) (limited to 'views') diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs index 2f10e66..871f73e 100644 --- a/views/user_profile_alt.hbs +++ b/views/user_profile_alt.hbs @@ -151,20 +151,21 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details"> - {{# if messages.success }} -
- -

{{ messages.success }}

-
- {{ else }} - {{# if messages.error }} -
-

{{ messages.error }}

-
- {{/if}} - {{/if}} +

Send Message

+ {{# if messages.success }} +
+ +

{{ messages.success }}

+
+ {{ else }} + {{# if messages.error }} +
+

{{ messages.error }}

+
+ {{/if}} + {{/if}}
@@ -209,31 +210,31 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details">
- {{# if comments }} + {{# if comments.length }}

Comment History

-
- - - - - - - - - - {{# each comments }} +
+
DateCommentExam
+ - - - + + + - {{/each}} + + + {{# each comments }} + + + + + + {{/each}} -
{{ this.date }}{{ this.comment }}{{ this.exam_info.course_code }} > {{ this.exam_info.term }} - {{ this.exam_info.year }}DateCommentExam
{{ this.date }}{{ this.comment }}{{ this.course_code }} > {{ this.term }} + {{ this.year }}
+ -
+
{{else}}

No Comments.

{{/if}} -- cgit v1.2.3