{% load i18n %}

<ul>
    {% if module.children %}
        {% for child in module.children %}
            <li class="nowrap">
                {% if child.date %}<span class="float-right dim">{{ child.date|date }}</span>{% endif %}
                {% if child.warning %}<span class="warning">{{ child.title }}</span>{% else %}<a href="{{ child.link }}" target="_blank"><span class="icon-open-external"></span> {{ child.title }}</a>{% endif %}
            </li>
        {% endfor %}
    {% else %}
        <li>
            {% trans "Nothing to show" %}
        </li>
    {% endif %}
</ul>
