From 84731a07d569eb4c823d3033498ff040c22c693a Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Sun, 15 Apr 2012 16:13:26 +0200 Subject: [PATCH] Updated application view submenu. --- .../application/base_application.html | 2 +- .../templates/application/view.html | 40 ++++++++++--------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/openslides/application/templates/application/base_application.html b/openslides/application/templates/application/base_application.html index 2d342b2a6..cb962944d 100644 --- a/openslides/application/templates/application/base_application.html +++ b/openslides/application/templates/application/base_application.html @@ -15,6 +15,6 @@ {% if perms.application.can_manage_application %}
  • {%trans 'Import applications' %}
  • {% endif %} -
  • {%trans 'Print all applications' %}
  • +
  • {%trans 'All applications as PDF' %}
  • {% endblock %} diff --git a/openslides/application/templates/application/view.html b/openslides/application/templates/application/view.html index 3842b3593..f242a2699 100644 --- a/openslides/application/templates/application/view.html +++ b/openslides/application/templates/application/view.html @@ -6,19 +6,28 @@ {% block title %}{{ block.super }} - {% trans "Application" %} "{{ version.title }}"{% endblock %} +{% if perms.application.can_manage_application %} +{% block submenu %} + {{ block.super }} +
    +

    {%trans "Application No." %} {{ application.number }}

    + +{% endblock %} +{% endif %} {% block content %} - -
    +

    {% if application.number != None %} {% trans "Application No." %} {{ application.number }} @@ -305,5 +309,5 @@

    {% trans "Log" %}:

    {{ application.log|linebreaks }} {% endif %} -
    +
    {% endblock %}