{# edit_select_highlight.html #} {% extends "base.html" %} {% block content %} {% include "query_nav.html" %} {% if query_selected %}
{{ sql }}
Text | Colour number (0-{{ N_CSS_HIGHLIGHT_CLASSES|add:"-1" }}) | Delete highlight | Active? | Activate this one | Deactivate this one |
---|---|---|---|---|---|
{{ highlight.text }} | {{ highlight.colour }} | {% include "action_only_form.html" with action="delete_highlight" pk=highlight.id button="Delete" %} | {% if highlight.active %}{% endif %} {{ highlight.active|yesno }} {% if highlight.active %}{% endif %} | {% if highlight.active %} (activated) {% else %} {% include "action_only_form.html" with action="activate_highlight" pk=highlight.id button="Activate" %} {% endif %} | {% if highlight.active %} {% include "action_only_form.html" with action="deactivate_highlight" pk=highlight.id button="Deactivate" %} {% else %} (deactivated) {% endif %} |