summaryrefslogtreecommitdiff
path: root/kpov_judge/web/kpov_judge/templates/index.html
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2018-03-29 22:08:42 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2018-03-29 22:08:42 +0000
commit0d6370c5e29e8cd682631ee27c27e41ce03fa57c (patch)
tree32213fbf4f40d67a534e381f2f01065e26d093d3 /kpov_judge/web/kpov_judge/templates/index.html
parent40fa681226d0b75d5062b6c923bdf999eb577888 (diff)
Fix some more instances of missing class_id
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@424 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/web/kpov_judge/templates/index.html')
-rw-r--r--kpov_judge/web/kpov_judge/templates/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpov_judge/web/kpov_judge/templates/index.html b/kpov_judge/web/kpov_judge/templates/index.html
index 193f419..b5149ab 100644
--- a/kpov_judge/web/kpov_judge/templates/index.html
+++ b/kpov_judge/web/kpov_judge/templates/index.html
@@ -7,10 +7,10 @@ Zdravo, {{student_id}}
{{env}}
</p>
<p>
-Trenutno so na voljo naloge:
+Trenutno so na voljo predmeti:
<ul>
-{% for t in tasks %}
-<li><a href="tasks/{{t}}">{{t}}</a></li>
+{% for c in classes %}
+<li><a href="{{url_for('class_tasks', class_id=c.class_id)}}">{{c.name}}</a></li>
{% endfor %}
</ul>
</li>