Skip to content

Commit

Permalink
clarified submissions page for #62
Browse files Browse the repository at this point in the history
  • Loading branch information
Davis Haupt committed Jan 6, 2016
1 parent ce30131 commit 342fc68
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions client/templates/assignments/assignments.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,23 @@ <h3>Sorry, submissions have been closed for this assignment.</h3>
<div class="col-md-3">

<button class="btn btn-default" id="nosub">
{{#if nosub}}Show submissions{{else}}Show students who haven't submitted.{{/if}}
{{#if nosub}}Show all users{{else}}Show students who haven't submitted.{{/if}}
</button>
{{#if nosub}}{{else}}
<button class="btn btn-default" id="filter">
{{#if filter}}Show all submissions{{else}}Show submissions without a grade{{/if}}
{{#if filter}}Show all users{{else}}Show submissions without a grade{{/if}}
</button>
{{/if}}
<h3>Submissions Recieved</h3>

{{#if nosub}}
<h3>Students who haven't submitted</h3>
{{else}}
{{#if filter}}
<h3>Students who have submitted an assignment and who haven't been graded</h3>
{{else}}
<h3>All Users</h3>
{{/if}}
{{/if}}
<ul>
{{#each submission}}
{{#if show .}}
Expand Down

0 comments on commit 342fc68

Please sign in to comment.