From 467f9fef717cbdc217aae63fef6481150e8e34a7 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 24 May 2021 17:03:06 +0300 Subject: Checkin fixes --- servo/templates/checkin/newindex.html | 2 ++ servo/templates/default.html | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'servo/templates') diff --git a/servo/templates/checkin/newindex.html b/servo/templates/checkin/newindex.html index 96c8042..f1fc035 100644 --- a/servo/templates/checkin/newindex.html +++ b/servo/templates/checkin/newindex.html @@ -99,6 +99,7 @@ {% bootstrap_field device_form.condition %}
+ {% if questions %} {% bootstrap_field device_form.pop %} @@ -121,6 +122,7 @@ {% endfor %}
+ {% endif %} {% bootstrap_field customer_form.checkin_location %} {% bootstrap_field customer_form.checkout_location %} {% if request.user.is_authenticated %} diff --git a/servo/templates/default.html b/servo/templates/default.html index de363f4..15de430 100755 --- a/servo/templates/default.html +++ b/servo/templates/default.html @@ -72,7 +72,11 @@
  • {% trans "System Settings" %}
  • {% endif %}
  • + {% if show_checkin %}
  • {% trans "Go to check-in" %}
  • + {% else %} +
  • {% trans "Go to check-in" %}
  • + {% endif %}
  • {% trans "Log out" %}...
  • {% endwith %} -- cgit v1.2.3