From eb35289e4e768e9cbdf6a02a85b64012ef2b3d99 Mon Sep 17 00:00:00 2001
From: Emanuel Schuetze
Date: Mon, 14 Nov 2011 19:33:45 +0100
Subject: [PATCH] Fixed #57:
diff --git a/openslides/application/templates/application/poll_view.html b/openslides/application/templates/application/poll_view.html
index ea2f872aa..f0d5feba2 100644
--- a/openslides/application/templates/application/poll_view.html
+++ b/openslides/application/templates/application/poll_view.html
@@ -46,16 +46,16 @@
-
+
{%trans 'Save' %}
-
+
{%trans 'Apply' %}
-
+
{%trans 'Cancel' %}
-
+
diff --git a/openslides/application/templates/application/view.html b/openslides/application/templates/application/view.html
index 9e8413a5c..b3a0ebf46 100644
--- a/openslides/application/templates/application/view.html
+++ b/openslides/application/templates/application/view.html
@@ -48,7 +48,7 @@
{% if perms.application.can_manage_application %}
{% if "genpoll" in actions %}
- {%trans 'New vote' %}
+ {%trans 'New vote' %}
{% else %}
-
@@ -83,7 +83,7 @@
{% if forloop.last %}
{% if "genpoll" in actions %}
- {%trans 'New vote' %}
+ {%trans 'New vote' %}
{% endif %}
{% endif %}
@@ -105,13 +105,13 @@
{% if "edit" in actions %}
- {%trans 'Edit' %}
+ {%trans 'Edit' %}
{% endif %}
{% if "wit" in actions and user == application.submitter %}
- {%trans 'Withdraw' %}
+ {%trans 'Withdraw' %}
{% endif %}
@@ -119,13 +119,13 @@
{% if "unsupport" in actions %}
- {% trans 'Unsupport' %}
+ {% trans 'Unsupport' %}
{% endif %}
{% if "support" in actions %}
- {% trans 'Support' %}
+ {% trans 'Support' %}
{% endif %}
{% endif %}
@@ -143,13 +143,13 @@
{% if "per" in actions or "nop" in actions or "setnumber" in actions %}
{% trans "Formal validation" %}:
{% if "per" in actions %}
- {% trans 'Permit' %}
+ {% trans 'Permit' %}
{% endif %}
{% if "nop" in actions %}
- {% trans 'Not permit (reject)' %}
+ {% trans 'Not permit (reject)' %}
{% endif %}
{% if "setnumber" in actions %}
- {% trans 'Set Number' %}
+ {% trans 'Set Number' %}
{% endif %}
{% endif %}
@@ -157,14 +157,14 @@
{% if "createitem" in actions %}
- {%trans 'New agenda item' %}
+ {%trans 'New agenda item' %}
{% endif %}
{% if "activateitem" in actions %}
- {%trans 'Show agenda item' %}
+ {%trans 'Show agenda item' %}
{% endif %}
@@ -172,12 +172,12 @@
{% trans "Result after vote" %}:
{% if "acc" in actions %}
- {%trans 'Accepted' %}
+ {%trans 'Accepted' %}
{% endif %}
{% if "rej" in actions %}
- {%trans 'Rejected' %}
+ {%trans 'Rejected' %}
{% endif %}
{% endif %}
@@ -185,16 +185,16 @@
{% if "adj" in actions or "noc" in actions or "com" in actions or "wit" in actions %}
{% trans 'Result after debate' %}:
{% if "adj" in actions %}
- {% trans 'Adjourned' %}
+ {% trans 'Adjourned' %}
{% endif %}
{% if "noc" in actions %}
- {% trans 'Not Concerned' %}
+ {% trans 'Not Concerned' %}
{% endif %}
{% if "com" in actions %}
- {% trans 'Commited a bill' %}
+ {% trans 'Commited a bill' %}
{% endif %}
{% if "wit" in actions %}
- {% trans 'Withdrawed by Submitter' %}
+ {% trans 'Withdrawed by Submitter' %}
{% endif %}
{% endif %}
@@ -202,7 +202,7 @@
{%trans "For Administration only:" %}
- {%trans 'Reset' %}
+ {%trans 'Reset' %}
{% endif %} {# end perms.application.can_support_application #}
diff --git a/openslides/assignment/templates/assignment/edit.html b/openslides/assignment/templates/assignment/edit.html
index b076aa02a..0745d8eb6 100644
--- a/openslides/assignment/templates/assignment/edit.html
+++ b/openslides/assignment/templates/assignment/edit.html
@@ -10,17 +10,16 @@
{% endblock %}
diff --git a/openslides/assignment/templates/assignment/poll_view.html b/openslides/assignment/templates/assignment/poll_view.html
index 10bdb38a3..233ebb300 100644
--- a/openslides/assignment/templates/assignment/poll_view.html
+++ b/openslides/assignment/templates/assignment/poll_view.html
@@ -42,26 +42,25 @@
-
-
+
{%trans 'Print ballot' %}
-
+
-
+
{%trans 'Save' %}
-
+
{%trans 'Apply' %}
-
+
{%trans 'Cancel' %}
-
+
diff --git a/openslides/assignment/templates/assignment/view.html b/openslides/assignment/templates/assignment/view.html
index 4d31dd032..49f590f98 100644
--- a/openslides/assignment/templates/assignment/view.html
+++ b/openslides/assignment/templates/assignment/view.html
@@ -31,22 +31,24 @@
- {%trans 'Edit' %}
+
+ {%trans 'Edit' %}
+
{% if not assignment.itemassignment_set.all %}
-
+
{%trans 'New agenda item' %}
-
+
{% else %}
-
+
{%trans 'Show agenda item' %}
-
+
{% endif %}
@@ -82,16 +84,16 @@
{% if user.profile in assignment.profile.all %}
-
+
{%trans 'Withdraw self candidature' %}
-
+
{% else %}
{% if user.profile %}
-
+
{%trans 'Self candidature' %}
-
+
{% endif %}
{% endif %}
@@ -107,7 +109,7 @@
{% endfor %}
-
+
{%trans 'Apply' %}
@@ -154,9 +156,9 @@
{% if assignment.profile.count > 0 and perms.assignment.can_manage_assignment and assignment.status == "vot" %}
-
+
{%trans 'New ballot' %}
-
+
|
{% endif %}
@@ -228,9 +230,9 @@
{% if assignment.profile.count > 0 and perms.assignment.can_manage_assignment and assignment.status == "vot" %}
-
+
{%trans 'New ballot' %}
-
+
{% endif %}
diff --git a/openslides/participant/templates/participant/edit.html b/openslides/participant/templates/participant/edit.html
index 5e29e22f6..75b250cfd 100644
--- a/openslides/participant/templates/participant/edit.html
+++ b/openslides/participant/templates/participant/edit.html
@@ -14,16 +14,16 @@
{% if edituser %}
{% trans 'Reset Password' %}
{% endif %}
-
+
{%trans 'Save' %}
-
+
{%trans 'Apply' %}
-
+
{%trans 'Cancel' %}
-
+
{% endblock %}
diff --git a/openslides/participant/templates/participant/group_edit.html b/openslides/participant/templates/participant/group_edit.html
index 357a3e1a2..95209bfea 100644
--- a/openslides/participant/templates/participant/group_edit.html
+++ b/openslides/participant/templates/participant/group_edit.html
@@ -10,16 +10,16 @@
{% endblock %}
diff --git a/openslides/participant/templates/participant/import.html b/openslides/participant/templates/participant/import.html
index af6c1bf67..5acdee1b7 100644
--- a/openslides/participant/templates/participant/import.html
+++ b/openslides/participant/templates/participant/import.html
@@ -8,13 +8,13 @@
{% trans '(Required comma separated values: first_name, last_name, gender, group, type, committee
)' %}
diff --git a/openslides/participant/templates/participant/login.html b/openslides/participant/templates/participant/login.html
index 01e71f1d9..61294fac9 100644
--- a/openslides/participant/templates/participant/login.html
+++ b/openslides/participant/templates/participant/login.html
@@ -38,12 +38,12 @@
-
+
{%trans 'Login' %}
{% if os_enable_anonymous_login %}
-
- {%trans 'Continue as guest' %}
+
+ {%trans 'Continue as guest' %}
{% endif %}
diff --git a/openslides/participant/templates/participant/settings.html b/openslides/participant/templates/participant/settings.html
index 4f5f8b7bf..a35fc7541 100644
--- a/openslides/participant/templates/participant/settings.html
+++ b/openslides/participant/templates/participant/settings.html
@@ -11,13 +11,13 @@
{{ form_user.as_p }}
{{ form_password.as_p }}
-
+
{%trans 'Save' %}
-
+
{%trans 'Cancel' %}
-
+
diff --git a/openslides/static/images/icons/user-identity.png b/openslides/static/images/icons/user-identity.png
new file mode 100644
index 0000000000000000000000000000000000000000..b50ec42a5e86f71478526a925209af02c6dcaa7e
GIT binary patch
literal 636
zcmV-?0)zdDP)ioX&l9Qg5)@#=1TUz0#I#>Q1{5;Lx$e~Y#YI3)8HD<0{QUDSN(~~VY%#_ka4v$(pV;jV
zZemQHIWENnlQeyd@u3f
-
+
{%trans 'Save' %}
-
+
{%trans 'Cancel' %}
-
+
diff --git a/openslides/system/templates/system/system.html b/openslides/system/templates/system/system.html
index e9b5014ec..fd01855d5 100644
--- a/openslides/system/templates/system/system.html
+++ b/openslides/system/templates/system/system.html
@@ -7,13 +7,13 @@
{{ form.as_p }}
-
+
{%trans 'Save' %}
-
+
{%trans 'Cancel' %}
-
+
diff --git a/openslides/templates/403.html b/openslides/templates/403.html
index f7d59da78..7e3a25752 100644
--- a/openslides/templates/403.html
+++ b/openslides/templates/403.html
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% load tags %}
+
{% block submenu %}
{% endblock %}
diff --git a/openslides/templates/404.html b/openslides/templates/404.html
index 0f0a6d328..bebe5c25f 100644
--- a/openslides/templates/404.html
+++ b/openslides/templates/404.html
@@ -2,7 +2,6 @@
{% load tags %}
-
{% block submenu %}
{% endblock %}