{% extends "pages/base.html" %} {% import "macros/components/campaign.html" as mac_camp %} {% set title = "Campaigns" %} {% block main_toolbar %} {{ super() -}} {% filter indent(width=20, first=True) %} {% if signed_user.is_admin %} Add {% endif %} {% endfilter %} {% endblock main_toolbar %} {% block main_content %} {{ super() -}}

Remove
{% for x in campaigns %} {% set is_campaign_selected = g.campaign_ctxt.has_campaign and g.campaign_ctxt.id|string == x.id|string %} {% set action_url = url_for("campaigns.view", id=x.id) if is_campaign_selected else url_for("structural_elements.explore", forced_campaign_ctxt=x.id) %} {% set action_title = "More information on this campaign" if is_campaign_selected else "Set this campaign as working context" %} {% endfor %}
{% endblock main_content %} {% block body_scripts %} {{ super() -}} {% filter indent(width=8, first=True) %} {% endfilter %} {% endblock body_scripts %}