summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/admin
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-31 16:03:12 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-31 16:03:38 +0200
commit483aec19a29c69f544e27b6fb60966ca48b4f016 (patch)
tree9a058ead8859b9229c6e44f1d17385477903c571 /ishtar_common/templates/admin
parent2098d66880049b33f12b33e88f09942ed8434860 (diff)
downloadIshtar-483aec19a29c69f544e27b6fb60966ca48b4f016.tar.bz2
Ishtar-483aec19a29c69f544e27b6fb60966ca48b4f016.zip
Admin: profile type summary page
Diffstat (limited to 'ishtar_common/templates/admin')
-rw-r--r--ishtar_common/templates/admin/profiletype_summary_change_list.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/ishtar_common/templates/admin/profiletype_summary_change_list.html b/ishtar_common/templates/admin/profiletype_summary_change_list.html
new file mode 100644
index 000000000..f071545cc
--- /dev/null
+++ b/ishtar_common/templates/admin/profiletype_summary_change_list.html
@@ -0,0 +1,42 @@
+{% extends "admin/change_list.html" %}{% load i18n %}
+
+{% block content_title %}
+ <h1>{% trans "Profile type Summary" %}</h1>
+{% endblock %}
+
+{% block result_list %}
+
+<div class="results">
+ <table>
+ {% for group in groups %}
+ {% if forloop.counter0|divisibleby:10 %}
+ <tr>
+ <td>
+ </td>
+ {% for profile_type in profile_types %}
+ <th>
+ <div class="text">
+ <a href="/admin/ishtar_common/profiletype/{{profile_type.pk}}/change/">
+ {{ profile_type.name }}
+ </a>
+ </div>
+ </th>
+ {% endfor %}
+ </tr>
+ {% endif %}
+
+ <tr class="{% cycle 'row1' 'row2' %}">
+ {% for col in group %}
+ {% if forloop.first %}<th><div class="text">{% else %}<td>{% endif%}
+ {{col}}
+ {% if forloop.first %}</div></th>{% else %}</td>{% endif%}
+ {% endfor %}
+ </tr>
+ {% endfor %}
+ </table>
+</div>
+
+
+{% endblock %}
+
+{% block pagination %}{% endblock %} \ No newline at end of file