15 lines
549 B
HTML
15 lines
549 B
HTML
{% extends "admin_tools/dashboard/module.html" %}
|
|
{% load cycle from future %}
|
|
{% block module_content %}
|
|
<ul>
|
|
{% spaceless %}
|
|
{% for child in module.children %}
|
|
<li class="{% cycle 'odd' 'even' %}">
|
|
{% if child.date %}<span class="float-right">{{ child.date|date }} </span>{% endif %}
|
|
{% if child.warning %}<span class="warning">{{ child.title }}</span>{% else %}<a class="external-link" href="{{ child.url }}">{{ child.title }}</a>{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
{% endspaceless %}
|
|
</ul>
|
|
{% endblock %}
|