{% extends "clearance/admin/base.html" %}
{% load i18n %}
{% block crumbs %}› {% translate 'Actions' %}{% endblock %}
{% block content %}
{% translate 'Status actions' %}
{% if may_create %}
{% endif %}
| {% translate 'Model' %} | {% translate 'Action' %} | {% translate 'Field' %} | {% translate 'Writes' %} | {% translate 'Made' %} |
{% for row, declared in made %}
| {{ row.content_type }} | {{ row.name }} {{ row.code }} | {{ row.field }} | {{ row.to_values|join:', ' }} | {% if declared %}{% translate 'in the ACCESS file' %}{% else %}{% translate 'here' %}{% endif %} |
{% endfor %}
{% for label, code, spec in in_code %}
| {{ label }} | {{ code }} | {{ spec.field }} | {{ spec.to|join:', ' }} | {% translate 'in code' %} |
{% endfor %}
{% if not made and not in_code %}| {% translate 'None yet.' %} |
{% endif %}
{% translate 'Actions found in the code' %}
| {% translate 'Permission' %} | {% translate 'Found in' %} |
{% for action in found %}{{ action.permission }} | {{ action.origin }} |
{% empty %}| {% translate 'None.' %} |
{% endfor %}
{% translate 'Gone from the code' %}
{% for finding in gone %}- {{ finding.message }}
{% empty %}- {% translate 'Nothing.' %}
{% endfor %}
{% endblock %}