Commit a9187585 authored by Julian Rother's avatar Julian Rother
Browse files

Pretty-print semester on course page

parent aeb15dea
......@@ -20,7 +20,11 @@
<div class="col-xs-12">
<table class="table-top-aligned table-condensed">
<tbody>
{% if ismod() %}
<tr><td>Semester:</td><td>{{ moderator_editor(['courses',course.id,'semester'], course.semester) }}</td></tr>
{% else %}
<tr><td>Semester:</td><td>{{ course.semester|semester(long=True) }}</td></tr>
{% endif %}
<tr><td>Veranstalter:</td><td>{{ moderator_editor(['courses',course.id,'organizer'], course.organizer) }}</td></tr>
<tr><td>Bemerkungen:</td><td>{{ moderator_editor(['courses',course.id,'description'], course.description) }}</td></tr>
</tbody>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment