From 7352503ee0ca796476219dfc224136072f667332 Mon Sep 17 00:00:00 2001
From: Andreas <andreasv@fsmpi.rwth-aachen.de>
Date: Sat, 20 May 2017 02:33:37 +0200
Subject: [PATCH] users can now hint chapters if there are none already, closes
 #294

---
 templates/lecture.html | 2 --
 1 file changed, 2 deletions(-)

diff --git a/templates/lecture.html b/templates/lecture.html
index c7d38a3..82e27ae 100644
--- a/templates/lecture.html
+++ b/templates/lecture.html
@@ -39,7 +39,6 @@
 			<div class="col-xs-12" style="padding-top: 20px">
 				<p>{{ moderator_editor(['lectures',lecture.id,'comment'], lecture.comment) }}</p>
 			</div>
-			{% if (chapters|length > 0) or ismod() %}
 			<div class="col-xs-12 table-responsive" style="padding-top: 10px;">
 				<p>Kapitel:
 				<button class="btn btn-default" id="hintnewchapter">{% if ismod() %}Neues Kapitel{% else %}Kapitelmarker vorschlagen{% endif %}</button>
@@ -71,7 +70,6 @@
 				{% endfor %}
 				</table>
 			</div>
-			{% endif %}
 			{% if ismod() %}
 				<div class="col-xs-12 plot-view" data-url="{{url_for('stats_viewsperday', req="lecture", param=lecture.id)}}"></div>
 				<div class="col-xs-12 plot-view" data-url="{{url_for('stats_generic', req="live_views", param=lecture.id)}}"></div>
-- 
GitLab