{% comment %} Here, we're extending the app_list.html to add the dashboard link {% endcomment %} {% comment %} Doing it this way, since we don't have a block to overwrite {% endcomment %} {% load i18n %} {% if app_list %} {% for app in app_list %}
{% for model in app.models %} {% if model.admin_url %} {% else %} {% endif %} {% if model.add_url %} {% else %} {% endif %} {% if model.admin_url and show_changelinks %} {% if model.view_only %} {% else %} {% endif %} {% elif show_changelinks %} {% endif %} {% endfor %} {% comment %} The only custom code in this template {% endcomment %} {% if app.app_label == 'apm' %} {% if show_changelinks %} {% endif %} {% endif %}
{{ app.name }}
{{ model.name }}{{ model.name }}{% translate 'Add' %}{% translate 'View' %}{% translate 'Change' %}
Apm Dashboard{% translate 'View' %}
{% endfor %} {% else %}

{% translate 'You don’t have permission to view or edit anything.' %}

{% endif %}