search_results.html 810 B

1234567891011121314151617
  1. {% extends "admin/settings/settings.html" %}
  2. {% load i18n %}
  3. {% load url from future %}
  4. {% from "admin/macros.html" import page_title, draw_message %}
  5. {% block title %}{{ page_title(title=_('Search Results'), parent=_('Settings')) }}{% endblock %}
  6. {% block action %}
  7. <h2 class="sidepanel-header">{% trans %}Search Results{% endtrans %}</h2>{% if message %}
  8. {{ draw_message(message, 'alert-form') }}{% endif %}
  9. {% for setting in found_settings %}
  10. <h4>{{ _(setting.name) }} <small>{{ _(setting.group.name) }}</small></h4>
  11. {%- if setting.description %}<p>{{ _(setting.description) }}</p>{% endif -%}
  12. <a href="{% url 'admin_settings' group_id=setting.group.id, group_slug=setting.group.key %}#id_{{ setting.pk }}">{% trans %}Go to this setting{% endtrans %}</a>
  13. <hr>
  14. {% endfor %}
  15. {% endblock %}