summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-18 13:34:27 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-18 13:34:27 +0100
commiteb54c792cdabada6d36ea56fcb2ba6ec706911b8 (patch)
tree1477fbefb1ceac71fba1b4de22e1a39d601c0056 /ishtar_common
parent5822dc5199293b1c56b65e4969f356153014ae76 (diff)
downloadIshtar-eb54c792cdabada6d36ea56fcb2ba6ec706911b8.tar.bz2
Ishtar-eb54c792cdabada6d36ea56fcb2ba6ec706911b8.zip
SEARCH -> SEARCH_AND_SELECT
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/forms_common.py5
-rw-r--r--ishtar_common/templates/ishtar/wizard/default_wizard.html2
2 files changed, 4 insertions, 3 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py
index 73971adaf..dc18a2108 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -426,6 +426,7 @@ class PersonSelect(TableSelect):
class PersonFormSelection(forms.Form):
+ SEARCH_AND_SELECT = True
form_label = _(u"Person search")
associated_models = {'pk': models.Person}
currents = {'pk': models.Person}
@@ -521,7 +522,7 @@ class PersonUserSelect(PersonSelect):
class PersonUserFormSelection(PersonFormSelection):
- SEARCH = True
+ SEARCH_AND_SELECT = True
form_label = _(u"Person search")
associated_models = {'pk': models.Person}
currents = {'pk': models.Person}
@@ -552,7 +553,7 @@ class IshtarUserSelect(TableSelect):
class AccountFormSelection(forms.Form):
- SEARCH = True
+ SEARCH_AND_SELECT = True
form_label = _(u"Account search")
associated_models = {'pk': models.IshtarUser}
currents = {'pk': models.IshtarUser}
diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html
index 6c9193966..144323854 100644
--- a/ishtar_common/templates/ishtar/wizard/default_wizard.html
+++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html
@@ -39,7 +39,7 @@
{% block "footer" %}
<div id="footer">
{% block "validation_bar" %}
- {% if wizard.form.SEARCH %}
+ {% if wizard.form.SEARCH_AND_SELECT %}
<p class="confirm-message">{% trans "Search and select an item in the table" %}</p>
{% endif %}
{% include 'ishtar/wizard/validation_bar.html' %}