aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/generic/admin_list.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
commit63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch)
tree555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/generic/admin_list.html
downloadServo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip
Initial commit
First public commit
Diffstat (limited to 'servo/templates/generic/admin_list.html')
-rw-r--r--servo/templates/generic/admin_list.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/servo/templates/generic/admin_list.html b/servo/templates/generic/admin_list.html
new file mode 100644
index 0000000..25a29c6
--- /dev/null
+++ b/servo/templates/generic/admin_list.html
@@ -0,0 +1,18 @@
+{% extends "admin/index.html" %}
+{% load servo_tags %}
+{% load i18n %}
+
+{% block second_column %}
+<div class="span3">
+ <ul class="nav nav-list">
+ <li class="nav-header">{{ title }}</li>
+ {% for o in object_list %}
+ <li class="{% active_url request o.get_admin_url %}"><a href="{{ o.get_admin_url }}">{{ o.title|truncatechars:25 }}</a></li>
+ {% endfor %}
+ </ul>
+</div>
+<div class="span9">
+ {% block third_column %}
+ {% endblock third_column %}
+</div>
+{% endblock second_column %}