This repository has been archived by the owner on Apr 10, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from mozilla/dev
Merge dev branch
- Loading branch information
Showing
4 changed files
with
71 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<html> | ||
<head> | ||
<title>Challenge export</title> | ||
</head> | ||
<body> | ||
<h1>Challenge export</h1> | ||
{% for object in object_list %} | ||
<h2>{{ object.phase.name }}</h2> | ||
<table border="1"> | ||
{% for submission in object.submission_list %} | ||
{# Only submissions that have been scored #} | ||
{% if submission.score %} | ||
<tr> | ||
<td colspan="4">Title: {{ submission.submission.title }}</td> | ||
</tr> | ||
<tr> | ||
<th>Question</th> | ||
<th>Score</th> | ||
<th>Judge</th> | ||
<th>Notes</th> | ||
</tr> | ||
{% for answer in submission.score %} | ||
<tr> | ||
<td>{{ answer.criterion.question }}</td> | ||
<td>{{ answer.rating }}</td> | ||
<td>{{ answer.judgement.judge }}</td> | ||
<td>{{ answer.judgement.notes }}</td> | ||
</tr> | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor%} | ||
</table> | ||
{% endfor%} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters