From a06d20a8d8b7ad836eab813fa674486d67b17b0c Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 28 Mar 2012 15:17:29 +0200 Subject: [PATCH] Reverted changset r282 from Default branch (because it's for 1.2-dev-branch only). --- openslides/agenda/templates/agenda/edit.html | 20 +++++++++++++++++++- openslides/agenda/views.py | 15 +++++++++++---- openslides/beamer/api.py | 2 -- 3 files changed, 30 insertions(+), 7 deletions(-) diff --git a/openslides/agenda/templates/agenda/edit.html b/openslides/agenda/templates/agenda/edit.html index 849a61f82..3de773e3a 100644 --- a/openslides/agenda/templates/agenda/edit.html +++ b/openslides/agenda/templates/agenda/edit.html @@ -2,7 +2,25 @@ {% block title %}{{ block.super }} - {%trans "Item" %}{% endblock %} {% block content %} -

{%trans "Edit item" %}

+ {% if item %} +

{%trans "Edit item" %}

+ {% else %} +

{%trans "New item" %}

+ +

{%trans "Choose item type:" %}

+

+ {%trans "Item of Text" %} | + {%trans "Item of Application" %} | + {%trans "Item of Election" %} +

+ {% endif %} +
{% csrf_token %} {{ form.as_p }}