From dd10a59533645de3aa3f75eb308a53830cc952c4 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Sat, 28 Apr 2012 23:10:19 +0200 Subject: [PATCH] #109: New second submneu for election view. --- .../templates/assignment/base_assignment.html | 40 +++++++++++++++++++ .../assignment/templates/assignment/view.html | 24 +---------- openslides/assignment/views.py | 6 +++ openslides/static/styles/base.css | 3 +- 4 files changed, 49 insertions(+), 24 deletions(-) diff --git a/openslides/assignment/templates/assignment/base_assignment.html b/openslides/assignment/templates/assignment/base_assignment.html index 3e4943883..a000ea7f6 100644 --- a/openslides/assignment/templates/assignment/base_assignment.html +++ b/openslides/assignment/templates/assignment/base_assignment.html @@ -19,4 +19,44 @@ {% endif %}
  • {%trans 'All elections as PDF' %}
  • + + {# second submenu #} + {% if assignment %} +
    +

    {{assignment}}

    + + {% endif %} {% endblock %} diff --git a/openslides/assignment/templates/assignment/view.html b/openslides/assignment/templates/assignment/view.html index c8e736298..7d01ceb8c 100644 --- a/openslides/assignment/templates/assignment/view.html +++ b/openslides/assignment/templates/assignment/view.html @@ -9,11 +9,7 @@