diff -r ea70f3d81676 -r 6dea01810014 templates/theme.html
--- a/templates/theme.html Sat Jan 18 20:06:19 2014 +0100
+++ b/templates/theme.html Sat Jan 18 20:43:38 2014 +0100
@@ -41,12 +41,7 @@
- {% for href, caption in [('/competition', 'Competition'),
- ('/task', 'Task'),
- ('/submission', 'Submission'),
- ('/coursematerial', 'Coursematerial'),
- ]:
- %}
+ {% for href, caption in get_topmenue(): %}
{%- if href[1:] == act -%}
- {% else %}
- {% endif %}{{ caption }}
{% endfor %}