From 400e66d6b554d6b87e025f84d15742df15ecd644 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 30 Jan 2023 12:26:32 +0100 Subject: Sheet document: better UI for files --- CHANGES.md | 3 ++- .../templates/ishtar/sheet_administrativeact.html | 4 ++-- .../templates/blocks/DataTables-external-sources.html | 2 +- ishtar_common/templates/blocks/DataTables.html | 8 ++++---- .../templates/ishtar/blocks/window_field_flex_file.html | 10 ++++++++++ ishtar_common/templates/ishtar/sheet_document.html | 4 ++-- ishtar_common/templatetags/window_field.py | 2 +- 7 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 ishtar_common/templates/ishtar/blocks/window_field_flex_file.html diff --git a/CHANGES.md b/CHANGES.md index d8b1f9649..24520376b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ --- title: Ishtar changelog -date: 2023-01-27 +date: 2023-01-30 --- Ishtar changelog @@ -8,6 +8,7 @@ Ishtar changelog ### Features/improvements ### - add custom cached_label configuration for each main item +- sheet document: better UI for files v4.0.42 - 2023-01-25 -------------------- diff --git a/archaeological_operations/templates/ishtar/sheet_administrativeact.html b/archaeological_operations/templates/ishtar/sheet_administrativeact.html index a524ad04d..d952f66cb 100644 --- a/archaeological_operations/templates/ishtar/sheet_administrativeact.html +++ b/archaeological_operations/templates/ishtar/sheet_administrativeact.html @@ -23,9 +23,9 @@ {% with pdf_attached=item.pdf_attached %} {% if pdf_attached %}

- + + {% trans "View PDF" %} -

{% endif %} diff --git a/ishtar_common/templates/blocks/DataTables-external-sources.html b/ishtar_common/templates/blocks/DataTables-external-sources.html index af8774b82..3a46b39f1 100644 --- a/ishtar_common/templates/blocks/DataTables-external-sources.html +++ b/ishtar_common/templates/blocks/DataTables-external-sources.html @@ -2,7 +2,7 @@
-