{% extends "clearance/admin/base.html" %}
{% load i18n %}
{% block crumbs %}› {% translate 'Row scopes' %}{% endblock %}
{% block content %}
{% if may_create %}
{% endif %}
| {% translate 'Model' %} | {% translate 'Code' %} | {% translate 'Name' %} | {% translate 'Made' %} | {% translate 'Grants using it' %} |
{% for row in rows %}
| {{ row.model }} | {{ row.code }} |
{% if row.rule %}{{ row.name }}{% else %}{{ row.name }}{% endif %}{% if row.broken %} — {% translate 'reaches nothing' %}{% endif %} |
{% if row.rule %}{% translate 'as a rule' %}{% else %}{% translate 'in code' %}{% endif %} | {{ row.grants }} |
{% empty %}
| {% translate 'No model offers a scope yet.' %} |
{% endfor %}
{% endblock %}