Skip to content

Commit

Permalink
Download button added for corrector #26
Browse files Browse the repository at this point in the history
  • Loading branch information
Csutorás Robin committed Sep 16, 2017
1 parent bfc93c7 commit 92e583a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/templates/evaluator.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
<div class="text label">Deadline</div>
<div class="text">{{dateformat selectedDeliverable.deadline}}</div>
{{#if selectedDeliverable.isOver}}
<div class="text label">File</div>
{{#if selectedDeliverable.uploaded}}
<div class="text"><a class="button" {{action 'download'}}>Download</a></div>
{{else}}
<div class="text">Not uploaded.</div>
{{/if}}
<div class="text label">Select for grading</div>
{{#unless (eq selectedDeliverable.Corrector.id model.user.id)}}
{{#if selectedDeliverable.Corrector.id}}
Expand Down

0 comments on commit 92e583a

Please sign in to comment.