{% extends "admin_tools/dashboard/module.html" %}
{% load i18n %}{% load url from future %}
{% block module_content %}
  {% if module.pages_link %}
    <p>
      {% blocktrans with pages_link=module.pages_link pages_title=module.pages_title password_link=module.password_link logout_link=module.logout_link %}You can start editing pages using the <a href="{{ pages_link }}">{{ pages_title }}</a> button.{% endblocktrans %}
    </p>
  {% else %}
    <p>
      {% blocktrans %}You can start editing content using the buttons below.{% endblocktrans %}
    </p>
  {% endif %}
  {% if module.children %}
  <ul class="{{ module.layout }}">
  {% for child in module.children %}
    <li class="{% cycle 'odd' 'even' %}">
    <a{% if child.external %} class="external-link"{% endif %} href="{{ child.url }}" {% if child.description %} title="{{ child.description }}"{% endif %}>{{ child.title }}</a>
    </li>
  {% endfor %}
  </ul>
  {% endif %}
{% endblock %}


