From 3eff8cc19f8f8ef237788c752cb7c937195bb7e6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 24 Aug 2016 13:39:32 +0200 Subject: UI: adpat all sheet to the new layout. Administrativ act: can modify from sheet. Organization: can modify from sheet. --- ishtar_common/templates/blocks/JQueryJqGrid.html | 10 +-- .../templates/ishtar/blocks/window_nav.html | 81 +++++++++++----------- .../blocks/window_tables/dynamic_documents.html | 9 ++- .../templates/ishtar/sheet_organization.html | 10 +-- ishtar_common/templates/ishtar/sheet_person.html | 7 +- ishtar_common/templates/ishtar/sheet_source.html | 3 +- ishtar_common/templates/ishtar/sheet_toolbar.html | 2 - 7 files changed, 58 insertions(+), 64 deletions(-) delete mode 100644 ishtar_common/templates/ishtar/sheet_toolbar.html (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/blocks/JQueryJqGrid.html b/ishtar_common/templates/blocks/JQueryJqGrid.html index c6a15243a..44f4b0ba8 100644 --- a/ishtar_common/templates/blocks/JQueryJqGrid.html +++ b/ishtar_common/templates/blocks/JQueryJqGrid.html @@ -12,13 +12,13 @@
+ {% if source_full %} -{% trans "Export as CSV" %} ({{encoding}}) -{% trans "simple" %} - -{% trans "full" %} +{% trans "CSV" %} +{% trans "CSV full" %} {% else %} -{% trans "Export as CSV" %} ({{encoding}}) -{% endif %} +{% trans "CSV" %} +{% endif %} {{encoding}}
{% if multiple %} diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html index 9a17419a8..c225a5822 100644 --- a/ishtar_common/templates/ishtar/blocks/window_nav.html +++ b/ishtar_common/templates/ishtar/blocks/window_nav.html @@ -1,46 +1,47 @@ {% load url from future %} {% load i18n %} {% if previous or next %} -
-{% if previous %} - - - - - -
{{previous}} -
-{% else %} - -{% endif %} -{% if next %} - - - - - -
{% trans "Restore" %} -
- - - - - -
{{next}} -
-{% else %} - - +
+ {% if previous %} + + + + + +
{{previous}} +
+ {% else %} + + {% endif %} + {% if next %} + + + + + +
{% trans "Restore" %} +
+ + + + + +
{{next}} +
+ {% else %} + + + {% endif %} +
{% endif %} -
-{% endif %} -
- - - - - - -ODT PDF +
+ {% block extra_actions %}{% endblock %} + {% if modify_url %} + + + + + {% endif %} + ODT PDF

diff --git a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html index 8850bd34a..4a81a64fb 100644 --- a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html +++ b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html @@ -6,12 +6,11 @@
{% if source_full %} -{% trans "Export as CSV" %} ({{encoding}}) -{% trans "simple" %} - -{% trans "full" %} +{% trans "CSV" %} +{% trans "CSV full" %} {% else %} -{% trans "Export as CSV" %} ({{encoding}}) -{% endif %} +CSV +{% endif %} {{encoding}}