{% load i18n static %} {% comment %} Jazzmin-styled replacement for django-constance's results_list include. Expects `config_values` in context (either the full list or a fieldset's subset). The data-* attributes on .reset-link are read by constance's admin/js/constance.js. {% endcomment %}
| {% trans "Name" %} | {% trans "Default" %} | {% trans "Value" %} | {% trans "Is modified" %} |
|---|---|---|---|
|
{{ item.name }}
ΒΆ
{% if item.help_text %}
{{ item.help_text|linebreaksbr }}
{% endif %}
|
{{ item.default|linebreaksbr }} |
{{ item.form_field.errors }}
{% if item.is_file %}
{% trans "Current file" %}:
{{ item.value }}
{% endif %}
{% if item.is_checkbox %}
{{ item.form_field }}
{% else %}
{{ item.form_field }}
{% endif %}
{% if not item.is_file %}
{% trans "Reset to default" %}
{% endif %}
|
{% if item.modified %} {% else %} {% endif %} |