summaryrefslogtreecommitdiffstats
path: root/templates/module_show.html
diff options
context:
space:
mode:
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-08-15 16:16:43 +0200
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-08-15 16:16:43 +0200
commit11ffb78a95d27ebf8ed0b238cde640028eff8e25 (patch)
tree5c9a0d4d102592db4cc0bb51352927d45c65f838 /templates/module_show.html
parented5e89436e219f0cf0f699c322f23b762d18f385 (diff)
downloadklausuren-11ffb78a95d27ebf8ed0b238cde640028eff8e25.tar.gz
klausuren-11ffb78a95d27ebf8ed0b238cde640028eff8e25.tar.bz2
klausuren-11ffb78a95d27ebf8ed0b238cde640028eff8e25.zip
refactoring
Diffstat (limited to 'templates/module_show.html')
-rw-r--r--templates/module_show.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/module_show.html b/templates/module_show.html
index 9e7e336..ea27e05 100644
--- a/templates/module_show.html
+++ b/templates/module_show.html
@@ -6,7 +6,8 @@
<ul>
{% for name,oid in files %}
<li>
- <a href="{{url_for('study_show', study = study, oid=oid)}}">{{name}}</a>
+ <a href="{{url_for('study_show', study = study,
+ oid=oid)}}">{{name|truncate(50,True)}}</a>
</li>
{% endfor %}
</ul>