From 9a80d61b0cf5fa159beb6864b99446a44aff5476 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 30 Apr 2019 13:35:51 +0200 Subject: Label generation: label generation available at the bottom of tables --- .../templates/blocks/DataTables-content.html | 44 ++++++++++++++++------ 1 file changed, 32 insertions(+), 12 deletions(-) (limited to 'ishtar_common/templates/blocks/DataTables-content.html') diff --git a/ishtar_common/templates/blocks/DataTables-content.html b/ishtar_common/templates/blocks/DataTables-content.html index 1b069f674..4a9257f65 100644 --- a/ishtar_common/templates/blocks/DataTables-content.html +++ b/ishtar_common/templates/blocks/DataTables-content.html @@ -21,19 +21,39 @@
-
- {% if source_full or extra_sources %} - {% trans "Simple CSV" %} - {% if source_full %}{% trans "CSV full" %}{% endif %} - {% for slug, name, extra_source in extra_sources %} - {{name}} - {% endfor %} - {% else %} - {% trans "CSV" %} - {% endif %} +
+ +
+ {% if current_model.has_label_templates %}
+ + +
{% endif %}
-- cgit v1.2.3