summaryrefslogtreecommitdiff
path: root/kpov_judge/web/kpov_judge/templates/index.html
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-13 03:29:33 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-13 03:29:44 +0200
commitb41b2bebc05585a6e374dafafae9bed2503becad (patch)
treebb8689bde958278f681f01de1906609c68221ee9 /kpov_judge/web/kpov_judge/templates/index.html
parentc5a8b2c72841ad0b58fb36870624737634778056 (diff)
I18N
Diffstat (limited to 'kpov_judge/web/kpov_judge/templates/index.html')
-rw-r--r--kpov_judge/web/kpov_judge/templates/index.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/kpov_judge/web/kpov_judge/templates/index.html b/kpov_judge/web/kpov_judge/templates/index.html
index 49895b0..4c2ba47 100644
--- a/kpov_judge/web/kpov_judge/templates/index.html
+++ b/kpov_judge/web/kpov_judge/templates/index.html
@@ -4,14 +4,13 @@
<h1>KPOV Judge</h1>
<p>
-Zdravo, {{student_id}}.
+{{ _('Zdravo, %(student)s.', student=student_id) }}
-<p>
-Trenutno so na voljo predmeti:
+<section>
+<h1>{{ _('Predmeti') }}</h1>
<ul>
{% for c in classes %}
-<li><a href="{{url_for('class_tasks', class_id=c.class_id)}}">{{c.name}}</a></li>
+ <li><a href="{{url_for('class_tasks', class_id=c.class_id)}}">{{c.name}}</a>
{% endfor %}
</ul>
-</li>