{% extends "pages/base.html" %} {% block main_content %} {{ super() -}}
{% if g.campaign_ctxt.has_campaign %}
{{ g.campaign_ctxt.name }}
{{ g.campaign_ctxt.campaign["state"] }} {{ g.campaign_ctxt.campaign["description"] }}
{% if signed_user.is_admin %}
{{ campaign_scopes_count }} scopes
{% endif %}
{{ ts_count }} timeseries
{% for struct_elmt_type in structural_element_types %}
{{ structural_element_count[struct_elmt_type] }} {{ struct_elmt_type }}s
{% endfor %}
{% endif %}
Campaigns
{% for state, campaigns_by_state in g.campaign_ctxt.campaigns_by_state.items() %}
{{ campaigns_by_state | length }} {{ state }}
{% endfor %}
{% if signed_user.is_admin %}
Campaign scopes
{{ campaign_scopes_count_overall }} {{ g.campaign_ctxt.campaign_state_overall }}
{% endif %}
Timeseries
{{ ts_count_overall }} overall
Structural elements
{% for struct_elmt_type in structural_element_types %}
{{ structural_element_count_overall[struct_elmt_type] }} {{ struct_elmt_type }}s
{% endfor %}
{% endblock main_content %} {% block body_scripts %} {{ super() -}} {% filter indent(width=8, first=True) %} {% endfilter %} {% endblock body_scripts %}