aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/default.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-24 17:03:06 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-24 17:03:06 +0300
commit467f9fef717cbdc217aae63fef6481150e8e34a7 (patch)
treee738ef41beb2a4a441188a2cb5a202c8df25fa77 /servo/templates/default.html
parentd2394e47e6baed4f878103477862d1bcc27b816a (diff)
downloadServo-467f9fef717cbdc217aae63fef6481150e8e34a7.tar.gz
Servo-467f9fef717cbdc217aae63fef6481150e8e34a7.tar.bz2
Servo-467f9fef717cbdc217aae63fef6481150e8e34a7.zip
Checkin fixes
Diffstat (limited to 'servo/templates/default.html')
-rwxr-xr-xservo/templates/default.html4
1 files changed, 4 insertions, 0 deletions
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 @@
<li><a href="{% url 'admin-settings' %}"><i class="icon-cog"></i> {% trans "System Settings" %}</a></li>
{% endif %}
<li class="divider"></li>
+ {% if show_checkin %}
<li><a href="{% url 'checkin-index' %}"><i class="icon-check"></i> {% trans "Go to check-in" %}</a></li>
+ {% else %}
+ <li class="disabled"><a href="#"><i class="icon-check"></i> {% trans "Go to check-in" %}</a></li>
+ {% endif %}
<li><a href="{% url 'accounts-logout' %}" data-modal="#modal"><i class="icon-off"></i> {% trans "Log out" %}...</a></li>
</ul>
{% endwith %}