{% load i18n admin_static %} {% load customadmin_tags %}
{% for app in app_list|custom_app_list:CUSTOM_ADMIN.autocomplete_app_list %}
{% if app.show_models or app_list|length <= 1 %} {% for model in app.models %} {% if not model.perms.list_hide %} {# prevede perms['list_hide'] #} {% if model.perms.change %} {% else %} {% endif %} {% if model.perms.add %} {% else %} {% endif %} {% if model.perms.change %} {% else %} {% endif %} {% endif %} {% endfor %} {% endif %}
{% blocktrans with app.verbose_app_name as name %}{{ name }}{% endblocktrans %}
{{ model.name }}{{ model.name }}{% trans 'Add' %} {% trans 'Change' %} 
{% endfor %}