summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2008-04-07 14:06:43 +0200
committerGuillaume Seguin <guillaume@segu.in>2008-04-07 14:06:43 +0200
commit0e91790b6f517410045286dc1ae9c3d40da986bf (patch)
tree9d8052d5ceebad95bf4cc6f62d500457a0d95314
parentf525caf22c31fc4b5f6f657145495b61d5d0828f (diff)
downloadmarks-0e91790b6f517410045286dc1ae9c3d40da986bf.tar.gz
marks-0e91790b6f517410045286dc1ae9c3d40da986bf.tar.bz2
* Add links between items in exam/ratings/marks views
-rw-r--r--templates/main/exam.html4
-rw-r--r--templates/main/marks.html4
-rw-r--r--templates/main/ratings.html4
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/main/exam.html b/templates/main/exam.html
index 0babbaa..53dddfb 100644
--- a/templates/main/exam.html
+++ b/templates/main/exam.html
@@ -9,7 +9,7 @@
<div class="blockcontent">
<ul>
{% for marks_set, mark in marks.items %}
- <li>{{ marks_set }}: {{ mark }}</li>
+ <li><a href="{% url marks.main.views.marks_view marks_set %}">{{ marks_set }}</a>: {{ mark }}</li>
{% endfor %}
</ul>
</div>
@@ -17,7 +17,7 @@
<div class="blockcontent">
<ul>
{% for ratings_set, rating in ratings.items %}
- <li>{{ ratings_set }}: {{ rating }}</li>
+ <li><a href="{% url marks.main.views.ratings_view ratings_set %}">{{ ratings_set }}</a>: {{ rating }}</li>
{% endfor %}
</ul>
</div>
diff --git a/templates/main/marks.html b/templates/main/marks.html
index 240c06a..a4c5719 100644
--- a/templates/main/marks.html
+++ b/templates/main/marks.html
@@ -9,7 +9,7 @@
<div class="blockcontent">
<ul>
{% for exam, mark in marks.items %}
- <li>{{ exam }}: {{ mark }}</li>
+ <li><a href="{% url marks.main.views.exam_view exam %}">{{ exam }}</a>: {{ mark }}</li>
{% endfor %}
</ul>
</div>
@@ -17,7 +17,7 @@
<div class="blockcontent">
<ul>
{% for ratings_set, total in totals.items %}
- <li>{{ ratings_set }}: {{ total }}</li>
+ <li><a href="{% url marks.main.views.ratings_view ratings_set %}">{{ ratings_set }}</a>: {{ total }}</li>
{% endfor %}
</ul>
</div>
diff --git a/templates/main/ratings.html b/templates/main/ratings.html
index 22628eb..d424e8a 100644
--- a/templates/main/ratings.html
+++ b/templates/main/ratings.html
@@ -10,7 +10,7 @@
<div class="blockcontent">
<ul>
{% for exam, rating in ratings.items %}
- <li>{{ exam }}: {{ rating }}</li>
+ <li><a href="{% url marks.main.views.exam_view exam %}">{{ exam }}</a>: {{ rating }}</li>
{% endfor %}
</ul>
</div>
@@ -18,7 +18,7 @@
<div class="blockcontent">
<ul>
{% for marks_set, total in totals.items %}
- <li>{{ marks_set }}: {{ total }}</li>
+ <li><a href="{% url marks.main.views.marks_view marks_set %}">{{ marks_set }}</a>: {{ total }}</li>
{% endfor %}
</ul>
</div>