summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-08-15 16:19:49 +0200
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-08-15 16:19:49 +0200
commit16e21fc27e0949a11d5be7956932ccac8b01bda2 (patch)
tree6bfc734e0e3bda859babf49443af643479276c95
parent11ffb78a95d27ebf8ed0b238cde640028eff8e25 (diff)
downloadklausuren-16e21fc27e0949a11d5be7956932ccac8b01bda2.tar.gz
klausuren-16e21fc27e0949a11d5be7956932ccac8b01bda2.tar.bz2
klausuren-16e21fc27e0949a11d5be7956932ccac8b01bda2.zip
truncate module names after 40 chars
-rw-r--r--templates/module_show.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/module_show.html b/templates/module_show.html
index ea27e05..56fcf15 100644
--- a/templates/module_show.html
+++ b/templates/module_show.html
@@ -7,7 +7,7 @@
{% for name,oid in files %}
<li>
<a href="{{url_for('study_show', study = study,
- oid=oid)}}">{{name|truncate(50,True)}}</a>
+ oid=oid)}}">{{name|truncate(40,True)}}</a>
</li>
{% endfor %}
</ul>