aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/checkin
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-13 22:43:28 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-13 22:43:28 +0300
commit5d5415d29daa990d27913da638a6e2bc30afb4e8 (patch)
tree6209d223da8094f65f7f73fde1376c0b189fd5be /servo/templates/checkin
parent8045bf7033aff5c66069424844b5fc6585ab06cd (diff)
downloadServo-5d5415d29daa990d27913da638a6e2bc30afb4e8.tar.gz
Servo-5d5415d29daa990d27913da638a6e2bc30afb4e8.tar.bz2
Servo-5d5415d29daa990d27913da638a6e2bc30afb4e8.zip
Cleanup
Diffstat (limited to 'servo/templates/checkin')
-rw-r--r--servo/templates/checkin/index.html2
-rw-r--r--servo/templates/checkin/newindex.html6
2 files changed, 5 insertions, 3 deletions
diff --git a/servo/templates/checkin/index.html b/servo/templates/checkin/index.html
index 9ecc884..2995be5 100644
--- a/servo/templates/checkin/index.html
+++ b/servo/templates/checkin/index.html
@@ -40,6 +40,8 @@
<ul class="dropdown-menu">
{% for u in request.session.checkin_users %}
<li{% if u.pk == request.session.checkin_user %} class="active"{% endif %}><a href="?u={{ u.pk|safe }}">{{ u.name }}</a></li>
+ {% empty %}
+ <li class="disabled"><a href="#">{% trans "No users found" %}</a></li>
{% endfor %}
<li class="divider"></li>
<li><a href="{% url 'accounts-list_orders' user.username %}">{% bootstrap_icon "log-in" %} {% trans "Go to Servo" %}</a></li>
diff --git a/servo/templates/checkin/newindex.html b/servo/templates/checkin/newindex.html
index 41a6a05..7c04fb8 100644
--- a/servo/templates/checkin/newindex.html
+++ b/servo/templates/checkin/newindex.html
@@ -87,9 +87,9 @@
<input type="checkbox" name="tags" value="{{ t.id|safe }}"/> {% bootstrap_icon "tag" %} {{ t.title }}
</label>
</div>
- {% endfor %}
- </div>
- </div>
+ {% endfor %}
+ </div>
+ </div>
</div>
</div>
{% endif %}