aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates')
-rwxr-xr-xservo/templates/accounts/login.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/servo/templates/accounts/login.html b/servo/templates/accounts/login.html
index ea71bcc..e77c753 100755
--- a/servo/templates/accounts/login.html
+++ b/servo/templates/accounts/login.html
@@ -15,7 +15,11 @@
</div>
<br/>
<div class="pull-right">
+ {% if show_checkin %}
<a class="btn btn" href="{% url 'checkin-index' %}">{% trans "Check-in" %}</a>
+ {% else %}
+ <a class="btn btn disabled" href="#">{% trans "Check-in" %}</a>
+ {% endif %}
<button class="btn btn-primary" type="submit">{% trans "Login" %}</button>
</div>
</form>