diff options
| author | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-24 00:56:03 +0000 |
|---|---|---|
| committer | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-24 00:56:03 +0000 |
| commit | fe51deb31bbcc90530617b2b8aa60caf17c76729 (patch) | |
| tree | 9027f2575490112dfb8bdf363e2bd02046cebd64 /views/questions.hbs | |
| parent | f94e655f733e3be2a5fa2b009e9899c1b8886f03 (diff) | |
| parent | 18b6e474fb64f7e9b4699d3bfbf3f5276e6996ad (diff) | |
a pull
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'views/questions.hbs')
| -rw-r--r-- | views/questions.hbs | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/views/questions.hbs b/views/questions.hbs index ff9b3b2..48248c2 100644 --- a/views/questions.hbs +++ b/views/questions.hbs @@ -6,23 +6,22 @@ <a href="http://www.cs.toronto.edu/~fpitt/CSC148/20131/tests/test1-0101.pdf" target='_blank'><img src="assets/images/exam.png" class='exam-img img-responsive exam-info'></a> <section class='exam-info'> - <h3>CSC148</h3> - <p>Winter 2015 exam</p> - <p><em>Instructor(s): </em>Fairgrieve and Hangerman </p> - <p><em>Upload date:</em> 2016-07-08</p> - <p><em>Uploaded by:</em> John Smith</p> - <p><em>Page count:</em> 22</p> - <p><em>Question count:</em> 10</p> + <h3>{{examInfo.courseCode}}</h3> + <p>{{examInfo.term}} {{examInfo.year}} {{examInfo.type}}</p> + <p><em>Instructor(s): </em>{{examInfo.instructors}}</p> + <p><em>Upload date:</em> {{examInfo.uploadDate}}</p> + <p><em>Uploaded by:</em> {{examInfo.uploader}}</p> + <p><em>Page count:</em> {{examInfo.pageCount}}</p> + <p><em>Question count:</em> {{examInfo.questionCount}}</p> </section> <!-- QUESTION LISTINGS --> {{#each query}} - - <a href="/user_solutions"> + <a href="/solutions/{{../examInfo.id}}/{{this.q_id}}"> <section class = 'solutions-card row'> <div class='pull-left col-sm-8 col-md-8'> - <h3 class = 'questions-number'>Question {{this.id}}</h3> + <h3 class = 'questions-number'>Question {{this.q_id}}</h3> <p><span class='questions-sol-num'>{{this.count}} solutions, </span> <span class = 'questions-comment'>{{this.comments}} comments</span></p> </div> <div class='pull-right right-arrow'> |
