summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2008-04-07 14:01:56 +0200
committerGuillaume Seguin <guillaume@segu.in>2008-04-07 14:01:56 +0200
commiteb3674c62eda91a3fea33a66ddbb22329322d1b8 (patch)
treef69f8d8c514188bca81fc020f7b087ea7bc1af21
parent97405921e778eb35618919540d8d8b33809f1552 (diff)
downloadmarks-eb3674c62eda91a3fea33a66ddbb22329322d1b8.tar.gz
marks-eb3674c62eda91a3fea33a66ddbb22329322d1b8.tar.bz2
* Cleanup templates
-rw-r--r--templates/main/exam.html6
-rw-r--r--templates/main/marks.html6
-rw-r--r--templates/main/ratings.html6
3 files changed, 9 insertions, 9 deletions
diff --git a/templates/main/exam.html b/templates/main/exam.html
index 159d370..e7b545c 100644
--- a/templates/main/exam.html
+++ b/templates/main/exam.html
@@ -8,7 +8,7 @@
<h4>Notes</h4>
<div class="blockcontent">
<ul>
- {% for name,mark in marks.items %}
+ {% for name, mark in marks.items %}
<li>{{ name }}: {{ mark }}</li>
{% endfor %}
</ul>
@@ -16,8 +16,8 @@
<h4>Coefficients</h4>
<div class="blockcontent">
<ul>
- {% for name,rating in ratings.items %}
- <li>{{ name }}: {{ rating }}</li>
+ {% for ratings_set, rating in ratings.items %}
+ <li>{{ ratings_set }}: {{ rating }}</li>
{% endfor %}
</ul>
</div>
diff --git a/templates/main/marks.html b/templates/main/marks.html
index 194cd42..240c06a 100644
--- a/templates/main/marks.html
+++ b/templates/main/marks.html
@@ -8,7 +8,7 @@
<h4>Notes</h4>
<div class="blockcontent">
<ul>
- {% for exam,mark in marks.items %}
+ {% for exam, mark in marks.items %}
<li>{{ exam }}: {{ mark }}</li>
{% endfor %}
</ul>
@@ -16,8 +16,8 @@
<h4>Totaux</h4>
<div class="blockcontent">
<ul>
- {% for set_name,total in totals.items %}
- <li>{{ set_name }}: {{ total }}</li>
+ {% for ratings_set, total in totals.items %}
+ <li>{{ ratings_set }}: {{ total }}</li>
{% endfor %}
</ul>
</div>
diff --git a/templates/main/ratings.html b/templates/main/ratings.html
index 34deef4..22628eb 100644
--- a/templates/main/ratings.html
+++ b/templates/main/ratings.html
@@ -9,7 +9,7 @@
<h4>Coefficients</h4>
<div class="blockcontent">
<ul>
- {% for exam,rating in ratings.items %}
+ {% for exam, rating in ratings.items %}
<li>{{ exam }}: {{ rating }}</li>
{% endfor %}
</ul>
@@ -17,8 +17,8 @@
<h4>Totaux</h4>
<div class="blockcontent">
<ul>
- {% for set_name,total in totals.items %}
- <li>{{ set_name }}: {{ total }}</li>
+ {% for marks_set, total in totals.items %}
+ <li>{{ marks_set }}: {{ total }}</li>
{% endfor %}
</ul>
</div>