summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-11-28 17:14:20 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-11-28 17:14:20 +0100
commit4c99f2d8afcfdb6104edc679ec9b7fce81ceec0c (patch)
tree2f9fd95b3448ae0623249584bd174d008f6b85f3 /ishtar_common
parent1f5e9d5ae4895d3b96a6a2df55a7baa98c4fedc3 (diff)
downloadIshtar-4c99f2d8afcfdb6104edc679ec9b7fce81ceec0c.tar.bz2
Ishtar-4c99f2d8afcfdb6104edc679ec9b7fce81ceec0c.zip
Treatment deletion: more explicit messages.
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/models_imports.py2
-rw-r--r--ishtar_common/templates/ishtar/wizard/confirm_wizard.html8
2 files changed, 8 insertions, 2 deletions
diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py
index 9aae1d52d..fde4b3440 100644
--- a/ishtar_common/models_imports.py
+++ b/ishtar_common/models_imports.py
@@ -133,7 +133,7 @@ class ImporterType(models.Model):
ImporterModel, verbose_name=_(u"Models that can accept new items"),
blank=True, help_text=_(u"Leave blank for no restrictions"),
related_name='+')
- is_template = models.BooleanField(_(u"Is template"), default=False)
+ is_template = models.BooleanField(_(u"Can be exported"), default=False)
unicity_keys = models.CharField(_(u"Unicity keys (separator \";\")"),
blank=True, null=True, max_length=500)
available = models.BooleanField(_(u"Available"), default=True)
diff --git a/ishtar_common/templates/ishtar/wizard/confirm_wizard.html b/ishtar_common/templates/ishtar/wizard/confirm_wizard.html
index 401fe570c..9829058a8 100644
--- a/ishtar_common/templates/ishtar/wizard/confirm_wizard.html
+++ b/ishtar_common/templates/ishtar/wizard/confirm_wizard.html
@@ -9,7 +9,12 @@
<form action="." method="post">{% csrf_token %}
<div class='form'>
{% block "warning_informations" %}{% endblock %}
- <p>{% if confirm_msg %}{{confirm_msg|safe}}{%else%}{% trans "You have entered the following informations:" %}{%endif%}</p>
+ {% block "warning_message" %}
+ <div class="alert alert-info">
+ {% if confirm_msg %}{{confirm_msg|safe}}{%else%}{% trans "You have entered the following informations:" %}{%endif%}
+ </div>
+ {% endblock %}
+ {% block "detailed_informations" %}
{% for form_label, form_data in datas %}
<div class="card">
@@ -42,6 +47,7 @@
{{ extra_form }}
</table>
{% endif %}
+ {% endblock %}
{% block "extra_informations" %}{% endblock %}
{% block "footer" %}