summaryrefslogtreecommitdiff
path: root/app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html
blob: 3deec4ef1e7134253bcd98084f052d938718d14a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 %}