From baebf992ffa6dcc4ba01918b9668c40ae2e0ed08 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Mon, 6 Feb 2012 21:29:59 +0100 Subject: [PATCH 01/13] thanks for django --- THANKS | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index 2b99fa519..789f41898 100644 --- a/THANKS +++ b/THANKS @@ -3,6 +3,10 @@ THANKS file for OpenSlides OpenSlides uses parts of the following projects: +* Django + @@ -10,4 +14,4 @@ OpenSlides uses parts of the following projects: * Drupal (tabledrag function) - \ No newline at end of file + From a06d20a8d8b7ad836eab813fa674486d67b17b0c Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 28 Mar 2012 15:17:29 +0200 Subject: [PATCH 02/13] 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 }}