diff --git a/openslides/agenda/static/styles/agenda.css b/openslides/agenda/static/styles/agenda.css index 45c80fda1..2979007c9 100644 --- a/openslides/agenda/static/styles/agenda.css +++ b/openslides/agenda/static/styles/agenda.css @@ -15,9 +15,10 @@ table#agendatime { float: right; width: auto; margin-bottom: 1em; + font-size: 12px; } table#agendatime td { - padding: 5px; + padding: 3px; white-space: nowrap; } diff --git a/openslides/agenda/templates/agenda/config.html b/openslides/agenda/templates/agenda/config.html index a749108b2..d0e895c51 100644 --- a/openslides/agenda/templates/agenda/config.html +++ b/openslides/agenda/templates/agenda/config.html @@ -8,6 +8,9 @@ {% block header %} +{% endblock %} + +{% block javascript %} @@ -63,22 +66,20 @@ {% block title %}{{ block.super }} – {% trans "Agenda settings" %}{% endblock %} - {% block content %} -

{% trans "Configuration" %}: {% trans "Agenda" %} +

+ {% trans "Configuration" %} + {% trans "Agenda" %} {% block config_submenu %}{{ block.super }}{% endblock %}

{% csrf_token %} - {{ form.as_p }} -

- - - - -

+ {% include "form.html" %} +

+ {% include "formbuttons_save.html" %} + + {% trans 'Cancel' %} + +

+ * {% trans "required" %}
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/openslides/agenda/templates/agenda/item_row.html b/openslides/agenda/templates/agenda/item_row.html index 723cd6915..af495ce33 100644 --- a/openslides/agenda/templates/agenda/item_row.html +++ b/openslides/agenda/templates/agenda/item_row.html @@ -29,9 +29,9 @@ {% endif %} {% if perms.agenda.can_see_orga_items %} - + {% if item.duration %} - {{ item.duration }}h + {{ item.duration }}h {% endif %} {% endif %} diff --git a/openslides/agenda/templates/agenda/overview.html b/openslides/agenda/templates/agenda/overview.html index 4f714cb72..f6fc0916e 100644 --- a/openslides/agenda/templates/agenda/overview.html +++ b/openslides/agenda/templates/agenda/overview.html @@ -53,9 +53,17 @@ {% endif %}

{% trans "Agenda" %} + + {% if perms.agenda.can_manage_agenda %} + {% trans "New" %} + {% endif %} + PDF + +

+ {% if perms.agenda.can_see_orga_items %} {% if start and end %} - +
@@ -67,14 +75,6 @@
{% trans "Start of event" %}: {{ start|date:"DATETIME_FORMAT" }}
{% endif %} {% endif %} - - {% if perms.agenda.can_manage_agenda %} - {% trans "New" %} - {% endif %} - PDF - - - diff --git a/openslides/static/img/glyphicons_054_clock.png b/openslides/static/img/glyphicons_054_clock.png new file mode 100644 index 000000000..984bcc2cb Binary files /dev/null and b/openslides/static/img/glyphicons_054_clock.png differ diff --git a/openslides/static/styles/base.css b/openslides/static/styles/base.css index 4ab1f07a4..7075a4103 100644 --- a/openslides/static/styles/base.css +++ b/openslides/static/styles/base.css @@ -311,7 +311,10 @@ legend + .control-group { background-image: url("../img/glyphicons_006_user_add.png"); background-position: 0; } - +.icon-clock { + background-image: url("../img/glyphicons_054_clock.png"); + background-position: 0; +} /** Responsive **/