{% extends "paxalia/base.html" %} {% load static i18n %} {% block title %}{{ page_title }} · {% trans "Paxalia Admin" %}{% endblock %} {% block page_title %}{{ page_title }}{% endblock %} {% block page_subtitle %}{{ page_subtitle }}{% endblock %} {% block extra_css %}{% endblock %} {% block dashboard_content %}
{{ definition.label }}

{% trans "Object detail" %}

{% trans "Safe field and relationship inspection using the registered ModelAdmin queryset." %}

{% trans "Back to records" %} {% if can_change %}{% trans "Edit" %}{% endif %} {% if can_delete %}{% trans "Delete" %}{% endif %}
{% trans "Identity" %}

{% trans "Record fields" %}

{% for item in identity_values %}
{{ item.field }}
{{ item.value }}
{% endfor %} {% for field in fields %}
{{ field.label }}{% if field.help_text %}{{ field.help_text }}{% endif %}
{% if field.display.url %}{{ field.display.value }}{% else %}{{ field.display }}{% endif %}
{% empty %}

{% trans "No displayable fields are available." %}

{% endfor %}
{% trans "Relationships" %}

{% trans "Related records" %}

{% for relation in relations %}
{{ relation.name }}

{{ relation.label }}

{% if relation.error %} {% trans "Unavailable" %} {% else %} {{ relation.count }} {% for item in relation.items %}{% endfor %} {% if relation.more and not relation.has_restricted %}{% blocktrans with count=relation.more %}{{ count }} more records{% endblocktrans %}{% endif %} {% if relation.has_restricted %}{% trans "Some related records are restricted." %}{% endif %} {% endif %}
{% empty %}

{% trans "No relationships are defined for this object." %}

{% endfor %}
{% endblock %}