{% extends "admin/base_site_nav.html" %} {% load i18n %} {% block title %}frePPLe{% endblock %} {% block content_title %}

{% trans "Home" %}

{% endblock %} {% block extrahead %}{{block.super}} {% endblock %} {% block content %}
{% get_models from auth freppledb.admin.site as modelsAuth %} {% get_models from input freppledb.admin.site as modelsIn %} {% get_models from common freppledb.admin.site as modelsCommon %} {% if modelsIn %}

{% trans "Input" %}

{% for model in modelsIn %} {% if model.can_add %} {% else %} {% endif %} {% endfor %}
{{model.name}}{% trans 'Add' %} {% trans 'Import' %} {% trans 'Export' %}
{% endif %}

{% trans "Reports" %}

{% trans "Problem report" %}  {% trans 'Export' %}
{% trans "Inventory report" %}  {% trans 'Export' %}
{% trans "Resource report" %}  {% trans 'Export' %}
{% trans "Demand report" %}  {% trans 'Export' %}
{% trans "Forecast report" %}  {% trans 'Export' %}
{% trans "Operation report" %}  {% trans 'Export' %}
{% trans "Operation detail report" %}  {% trans 'Export' %}
{% trans "Resource detail report" %}  {% trans 'Export' %}
{% trans "Inventory detail report" %}  {% trans 'Export' %}
{% trans "Demand detail report" %}  {% trans 'Export' %}
{% trans "Performance Indicators" %}  {% trans 'Export' %}
{% if perms.execute %}

{% trans "Tools" %}

{% trans "Execute" %}   
{% trans "Log" %}  {% trans 'Export' %}
{% endif %} {% if modelsAuth or modelsCommon %}

{% trans "Admin" %}

{% for model in modelsAuth %} {% if model.can_add %} {% else %} {% endif %} {% endfor %}{% for model in modelsCommon %} {% if model.can_add %} {% else %} {% endif %} {% endfor %}
{{model.name}}{% trans 'Add' %} {% trans 'Import' %} {% trans 'Export' %}
{{model.name}}{% trans 'Add' %} {% trans 'Import' %} {% trans 'Export' %}
{% endif %}

{% trans 'My Actions' %}

{% load log %} {% get_multidbadmin_log 10 as admin_log for_user user %} {% if not admin_log %}

{% trans 'None available' %}

{% else %}{% for entry in admin_log %} {% if entry.is_deletion %}{{entry.object_repr}} {% else %}{{entry.object_repr}} {% endif %}{% if entry.content_type %}{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}{% else %}{% trans 'Unknown content' %}{% endif %}
{% endfor %} {% endif %}
{% endblock %}