summaryrefslogtreecommitdiff
path: root/app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html')
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html
new file mode 100644
index 0000000..3deec4e
--- /dev/null
+++ b/app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html
@@ -0,0 +1,21 @@
+{% extends "admin_tools/dashboard/module.html" %}
+{% block module_content %}
+{% if subindex %}
+ <div class="module feed {% for item in module.css_classes %}{{ item }} {% endfor %}">
+ <h3>{{ module.title }}</h2>
+{% else %}
+ <div class="module feed {% for item in module.css_classes %}{{ item }} {% endfor %}">
+ <h2>{{ module.title }}</h2>
+{% endif %}
+ <ul>
+ {% spaceless %}
+ {% for child in module.children %}
+ <li>
+ {% if child.date %}<span class="date mini quiet">{{ child.date|date }}&nbsp;</span>{% endif %}
+ {% if child.warning %}<span class="warning">{{ child.title }}</span>{% else %}<a class="external" href="{{ child.url }}">{{ child.title }}</a>{% endif %}
+ </li>
+ {% endfor %}
+ {% endspaceless %}
+ </ul>
+</div>
+{% endblock %}