From 309d7f7f29df56dc2ae40d503e65f918cdc64dcd Mon Sep 17 00:00:00 2001 From: Christophe Boulanger Date: Tue, 28 Feb 2017 14:07:22 +0100 Subject: [PATCH] Add a title in detail view and change delete cross for an appropriate icon --- .../imiots1datasources_detail.html | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/passerelle_imio_ts1_datasources/templates/passerelle_imio_ts1_datasources/imiots1datasources_detail.html b/passerelle_imio_ts1_datasources/templates/passerelle_imio_ts1_datasources/imiots1datasources_detail.html index d4d4cb3..1e688ef 100644 --- a/passerelle_imio_ts1_datasources/templates/passerelle_imio_ts1_datasources/imiots1datasources_detail.html +++ b/passerelle_imio_ts1_datasources/templates/passerelle_imio_ts1_datasources/imiots1datasources_detail.html @@ -3,16 +3,7 @@ {% block content %} {% if object.description %}{{object.description|linebreaks}}{% endif %} -{{object.label}} -
- -
-{%for element in object.get_lst_motivations_terms%} - {{ element.text }} - {{ element.price }} - {{ element.id }} - {{ element.description }} -
-{% endfor %} -
- +

{%trans 'Motivations list' %}

@@ -20,7 +11,7 @@ {% for motivation in object.get_motivation_terms %} - + {% endfor %}
{% trans 'Label' %}{% trans 'Price' %}{% trans 'Description' %} 
{{motivation.text}}{{motivation.price}}{{motivation.description}}X