{% extends "base.html" %} {% import "_section.html" as _section %} {% import "_wtform.html" as _wtform %} {% block extrahead %} {{ _section.rule_form_script() }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content -%}
{% trans %}That means you don't own a section, don't have editor rights in any rule and you haven't marked anything as your favorites. Use a star button left to the section name on the section page to mark a section as your favorite.{% endtrans %}
{% endif %} {% endblock %} {% macro possibly_editable_rule(section, rule, parent_rule=None) -%} {% if current_user_is_in_list(rule['editors']) %}{% if parent_rule %} {{ _section.rule_link(section, parent_rule) }} / {% endif %} {{ _section.rule_link(section, rule) }}
{% with form = resources_forms.get((section['path'], rule['name'])) %} {% if form %} {% endif %} {% endwith %} {% else %}{% if parent_rule %} {{ _section.rule_link(section, parent_rule, extra_class="text-muted") }} / {% endif %} {{ _section.rule_link(section, rule, extra_class="text-muted") }}