{% extends "authentic2/manager/base.html" %}
{% load i18n %}

{% block beforecontent %}
{% endblock %}

{% block appbar %}
  <h2>{% blocktrans %}Here you can manage objects related to organizational units, users, roles and applications.{% endblocktrans %}</h2>
  {% if user.is_superuser or can_view_journal %}
  <span class="actions">
  <a class="extra-actions-menu-opener"></a>
  <ul class="extra-actions-menu">
    {% if user.is_superuser %}
    <li><a download href="{% url 'a2-manager-site-export' %}">{% trans 'Export Site' %}</a></li>
    <li><a href="{% url 'a2-manager-site-import' %}" rel="popup">{% trans 'Import Site' %}</a></li>
    {% endif %}
    {% if user.is_superuser or can_view_journal %}
    <li><a href="{% url 'a2-manager-journal' %}">{% trans 'Journal' %}</a></li>
    {% endif %}
  </ul>
  </span>
  {% endif %}
{% endblock %}

{% block content %}
  <ul class="apps">
    {% for entry in entries %}
      <li {% if entry.class %}class="{{ entry.class }}"{% endif %}>
          <a href="{{ entry.href }}">{{ entry.label }}</a>
      </li>
    {% endfor %}
  </ul>
  <br style="clear: both;"/>
{% endblock %}
