summaryrefslogtreecommitdiffstats
path: root/app/templates/index.html
diff options
context:
space:
mode:
authorNico Geyso <nico.geyso@fu-berlin.de>2014-12-09 23:59:54 +0100
committerNico Geyso <nico.geyso@fu-berlin.de>2014-12-09 23:59:54 +0100
commit274d1790239f52440137cc922018a87af32a4ab7 (patch)
tree43149197b724f95af49c483194f2498b13f10ae2 /app/templates/index.html
parent79788b3590aba6384611a2c29012bbd821c290ee (diff)
downloadklausuren-274d1790239f52440137cc922018a87af32a4ab7.tar.gz
klausuren-274d1790239f52440137cc922018a87af32a4ab7.tar.bz2
klausuren-274d1790239f52440137cc922018a87af32a4ab7.zip
Refactoring
Diffstat (limited to 'app/templates/index.html')
-rw-r--r--app/templates/index.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index 9d090c3..8ab2c06 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -1,4 +1,4 @@
-{% extends "layout.html" %}
+{% extends "_layout.html" %}
{% block body %}
<h2>Studiengänge</h2>
@@ -6,7 +6,7 @@
<ul id="studies">
{% for name,img_path in studies|sort %}
<li>
- <a href="{{url_for('main.study_index', study=name)}}">
+ <a href="{{url_for('main.courses_show', study=name)}}">
<img src="{{url_for('static',filename=img_path)}}" alt="{{name}}" />
{{name.capitalize()}}
</a>
@@ -16,5 +16,4 @@
{% endfor %}
</ul>
</div>
-
{% endblock %}