summaryrefslogtreecommitdiffstats
path: root/app/templates/module_show.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/module_show.html
parent79788b3590aba6384611a2c29012bbd821c290ee (diff)
downloadklausuren-274d1790239f52440137cc922018a87af32a4ab7.tar.gz
klausuren-274d1790239f52440137cc922018a87af32a4ab7.tar.bz2
klausuren-274d1790239f52440137cc922018a87af32a4ab7.zip
Refactoring
Diffstat (limited to 'app/templates/module_show.html')
-rw-r--r--app/templates/module_show.html30
1 files changed, 0 insertions, 30 deletions
diff --git a/app/templates/module_show.html b/app/templates/module_show.html
deleted file mode 100644
index e31da24..0000000
--- a/app/templates/module_show.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{% macro render_module_list(module, entries) %}
-<ul id="module-list">
-{% for year,files in entries %}
- <li>
- {{year}}
- <ul>
- {% for name in files %}
- <li>
- <a href="{{url_for('.study_show', study = study, module=module, year=year, filename=name)}}">
- {{name|truncate(40,True)}}
- </a>
- </li>
- {% endfor %}
- </ul>
- </li>
-{% else %}
- <li>Keine Einträge bisher</li>
-{% endfor %}
-</ul>
-{% endmacro %}
-
-{% extends "layout.html" %}
-{% block body %}
- <div id="module-index">
- <h3>{{module}}</h3>
-
- {{ render_module_list(module, entries)}}
- </div>
-
-{% endblock %}