From d6717409664e378d20c0605f32fa9565e61260bb Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 2 Jan 2013 23:22:12 +0100 Subject: [PATCH] Fixed merged errors. --- openslides/motion/templates/motion/edit.html | 2 +- openslides/motion/templates/motion/import.html | 4 ++-- openslides/motion/templates/motion/overview.html | 10 +++++----- openslides/motion/templates/motion/poll_view.html | 6 +++--- openslides/motion/views.py | 1 + openslides/projector/templates/base-projector.html | 2 +- openslides/projector/templates/projector/default.html | 2 +- openslides/static/styles/base.css | 2 +- 8 files changed, 15 insertions(+), 14 deletions(-) diff --git a/openslides/motion/templates/motion/edit.html b/openslides/motion/templates/motion/edit.html index 045d66dc3..60da48b78 100644 --- a/openslides/motion/templates/motion/edit.html +++ b/openslides/motion/templates/motion/edit.html @@ -19,7 +19,7 @@ {% trans "New motion" %} {% endif %} - {% trans "Back to overview" %} + {% trans "Back to overview" %}
{% csrf_token %} diff --git a/openslides/motion/templates/motion/import.html b/openslides/motion/templates/motion/import.html index ba04ca732..16ca5bc5a 100644 --- a/openslides/motion/templates/motion/import.html +++ b/openslides/motion/templates/motion/import.html @@ -7,7 +7,7 @@ {% block content %}

{% trans "Import motions" %} - {% trans "Back to overview" %} + {% trans "Back to overview" %}

@@ -40,7 +40,7 @@ - + {% trans 'Cancel' %} diff --git a/openslides/motion/templates/motion/overview.html b/openslides/motion/templates/motion/overview.html index 2bec26f5f..ad9d81f2b 100644 --- a/openslides/motion/templates/motion/overview.html +++ b/openslides/motion/templates/motion/overview.html @@ -10,13 +10,13 @@

{% trans "Motions" %} - {% if perms.application.can_create_application %} - {% trans "New" %} + {% if perms.motion.can_create_motion %} + {% trans "New" %} {% endif %} - {% if perms.application.can_manage_application %} - {% trans 'Import' %} + {% if perms.motion.can_manage_motion %} + {% trans 'Import' %} {% endif %} - PDF + PDF

diff --git a/openslides/motion/templates/motion/poll_view.html b/openslides/motion/templates/motion/poll_view.html index 3dee1c3af..ee9414378 100644 --- a/openslides/motion/templates/motion/poll_view.html +++ b/openslides/motion/templates/motion/poll_view.html @@ -15,7 +15,7 @@
- {% trans "Back to motion" %} + {% trans "Back to motion" %}
{% trans 'More actions' %} @@ -24,12 +24,12 @@ diff --git a/openslides/motion/views.py b/openslides/motion/views.py index 76b2ba4c3..6c8f68820 100644 --- a/openslides/motion/views.py +++ b/openslides/motion/views.py @@ -941,6 +941,7 @@ def register_tab(request): selected = True if request.path.startswith('/motion/') else False return Tab( title=_('Motions'), + app='motion', url=reverse('motion_overview'), permission=request.user.has_perm('motion.can_see_motion') or request.user.has_perm('motion.can_support_motion') or request.user.has_perm('motion.can_support_motion') or request.user.has_perm('motion.can_manage_motion'), selected=selected, diff --git a/openslides/projector/templates/base-projector.html b/openslides/projector/templates/base-projector.html index a7a5ac98b..9f06c1ad1 100644 --- a/openslides/projector/templates/base-projector.html +++ b/openslides/projector/templates/base-projector.html @@ -10,7 +10,7 @@ - {% block title %} {% get_config 'event_name' %} {% endblock %} + XX{% block title %} {% get_config 'event_name' %} {% endblock %} {% block header %} {% endblock %} diff --git a/openslides/projector/templates/projector/default.html b/openslides/projector/templates/projector/default.html index 99d605672..3ce29380c 100644 --- a/openslides/projector/templates/projector/default.html +++ b/openslides/projector/templates/projector/default.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "base-projector.html" %} {% load tags %} {% load i18n %} diff --git a/openslides/static/styles/base.css b/openslides/static/styles/base.css index 5fff36b34..b3c6b40c5 100644 --- a/openslides/static/styles/base.css +++ b/openslides/static/styles/base.css @@ -209,7 +209,7 @@ form .required label:after { .icon-agenda { background-position: -264px 0; } -.icon-application, .icon-applications { +.icon-motion, .icon-motions { background-position: -24px -24px; } .icon-assignment, .icon-assignments {