From 7e88bd5c33805259ffc3aacaeeb825f5279e29e3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 6 Mar 2017 10:58:00 +0100 Subject: "Validate and end" button is not displayed if the end panel is not available (refs #3353) --- ishtar_common/templates/ishtar/wizard/validation_bar.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/wizard/validation_bar.html b/ishtar_common/templates/ishtar/wizard/validation_bar.html index 09907af67..a1590858f 100644 --- a/ishtar_common/templates/ishtar/wizard/validation_bar.html +++ b/ishtar_common/templates/ishtar/wizard/validation_bar.html @@ -1,7 +1,9 @@ {% load i18n %} {% load url from future %}
- - {% if next_steps %}{% endif %} - {% trans "Cancel" %} + + {% if last_step_is_available and next_steps %} + + {% endif %} + {% trans "Cancel" %}
-- cgit v1.2.3