Commit 2dd289c0 authored by Andreas Valder's avatar Andreas Valder
Browse files

added buttons for new lectures/courses

parent 6f9983f0
......@@ -32,6 +32,9 @@
<div class="panel panel-default">
<div class="panel-heading">
<h1 class="panel-title">Videos</h1>
{% if ismod() %}
<a class="btn btn-default" style="margin-right: 5px;" href="todo">Neuer Termin</a>
{% endif %}
</div>
<ul class="list-group lectureslist">
{% for l in lectures %}
......
......@@ -3,6 +3,9 @@
{% block content %}
<div class="row">
<div class="col-xs-12 dropdown" style="margin-bottom: 10px;">
<span class="pull-right">
{% if ismod() %} <a class="btn btn-default" style="margin-right: 5px;" href="todo">Neue Veranstaltung</a> {% endif %}
<button class="btn btn-primary dropdown-toggle pull-right" type="button" data-toggle="dropdown">Gruppierung
<span class="caret"></span></button>
<ul class="dropdown-menu dropdown-menu-right">
......@@ -10,6 +13,7 @@
<li><a href="?groupedby=title">Veranstaltungen</a></li>
<li><a href="?groupedby=organizer">Dozenten</a></li>
</ul>
</span>
</div>
</div>
{% for g in courses|groupby(groupedby)|reverse %}
......
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