From 4356aefc13f6f1ada5be895b34803c2dfcc48355 Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Thu, 20 Apr 2017 23:30:04 +0200 Subject: [PATCH] fixed campus import on mobile --- templates/import_campus.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/templates/import_campus.html b/templates/import_campus.html index 0e509c3..730e564 100644 --- a/templates/import_campus.html +++ b/templates/import_campus.html @@ -78,15 +78,13 @@ </p> {% endif%} </span> - <span class="col-xs-1"> - <span class="pull-right"> - {% if (i.type == 'lecture') %} - {{ moderator_delete(['lectures',i.id,'deleted']) }} - {% endif%} - {% if (i.type == 'import') %} - <button class="btn btn-default newlecture" onclick="moderator.api.gethttp('{{ url_for('create', table='lectures', course_id=course.id, time=i.time, title=i.title, place=i.place) }}')">anlegen</a> - {% endif%} - </span> + <span class="pull-right"> + {% if (i.type == 'lecture') %} + {{ moderator_delete(['lectures',i.id,'deleted']) }} + {% endif%} + {% if (i.type == 'import') %} + <button class="btn btn-default newlecture" onclick="moderator.api.gethttp('{{ url_for('create', table='lectures', course_id=course.id, time=i.time, title=i.title, place=i.place) }}')">anlegen</a> + {% endif%} </span> </li> {% endfor %} -- GitLab