From f7d10b417e93a650bc459bb986fe35e8a6354e5f Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Fri, 7 Oct 2016 11:42:33 +0200 Subject: [PATCH] Template fixes - motion list: show category and tags dropdown for manager only - manage projector: fix submenu buttons and css classes --- openslides/core/static/css/app.css | 9 ---- .../templates/core/manage-projectors.html | 41 ++++++++++--------- .../static/templates/motions/motion-list.html | 34 +++++++++++---- 3 files changed, 46 insertions(+), 38 deletions(-) diff --git a/openslides/core/static/css/app.css b/openslides/core/static/css/app.css index 1d2a61d9f..02ce19333 100644 --- a/openslides/core/static/css/app.css +++ b/openslides/core/static/css/app.css @@ -270,15 +270,6 @@ img { float: right; } -.col1 .header .submenu > div { - display: inline-block; - float: left; - margin-left: 5px; -} -.col1 .header .submenu > div.button { - float: none; - margin-left: 0; -} .col1 .meta .title { width: 100%; cursor: pointer; diff --git a/openslides/core/static/templates/core/manage-projectors.html b/openslides/core/static/templates/core/manage-projectors.html index c2a3d76ef..a5e6c0b59 100644 --- a/openslides/core/static/templates/core/manage-projectors.html +++ b/openslides/core/static/templates/core/manage-projectors.html @@ -1,34 +1,35 @@
diff --git a/openslides/motions/static/templates/motions/motion-list.html b/openslides/motions/static/templates/motions/motion-list.html index 02b69adf4..ed4e64e12 100644 --- a/openslides/motions/static/templates/motions/motion-list.html +++ b/openslides/motions/static/templates/motions/motion-list.html @@ -324,7 +324,7 @@ {{ motion.state.name | translate }} - +
  • @@ -376,11 +376,11 @@
    -
    - - + +
    + @@ -405,9 +405,16 @@
-
+ +
+ + {{ motion.category.name }} +
+ + +
+ +
+ + + {{ tag.name }}, + +
+ +
{{ motion.origin | limitTo:25 }}{{ motion.origin.length > 25 ? '...' : '' }}