diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 10:48:37 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 10:48:37 +0300 |
commit | 0deeb6bbecd35f672c55382bc32d596e642e346e (patch) | |
tree | 7a05c466bdfc11661d9e074907f3475624d82063 /servo/templates | |
parent | dbc4aff747b6d8e2bc817f91878b4f02458c30ae (diff) | |
download | Servo-0deeb6bbecd35f672c55382bc32d596e642e346e.tar.gz Servo-0deeb6bbecd35f672c55382bc32d596e642e346e.tar.bz2 Servo-0deeb6bbecd35f672c55382bc32d596e642e346e.zip |
Only show check-in button on login when feature enabled.
Diffstat (limited to 'servo/templates')
-rwxr-xr-x | servo/templates/accounts/login.html | 4 |
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> |