aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/browse-categories.html')
-rw-r--r--web/templates/browse-categories.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/web/templates/browse-categories.html b/web/templates/browse-categories.html
new file mode 100644
index 0000000..52ad2fe
--- /dev/null
+++ b/web/templates/browse-categories.html
@@ -0,0 +1,20 @@
+{% extends "base.html" %}
+
+{% block intro %}
+We have information about these {% if category %}packages{% else %}categories{% endif %}:
+{% endblock %}
+
+{% block main %}
+
+<ul>
+{% for obj in objects %}
+ <li>{% if category %}
+ <a href="/collagen/browse/{{category.name}}/{{ obj }}{% if failed %}?failed{% endif %}">{{ obj }}/</a>
+ {% else %}
+ <a href="/collagen/browse/{{obj.name}}{% if failed %}?failed{% endif %}">{{ obj.name }}</a>
+ {% endif %}
+ </li>
+{% endfor %}
+</ul>
+
+{% endblock %}