{% extends "pages/base.html" %} {% import "macros/components/campaign.html" as mac_camp %} {% if signed_user.is_admin %} {% set title = "Manage cleanup data service" %} {% else %} {% set title = "Cleanup data service" %} {% endif %} {% block main_content %} {{ super() -}}
Campaign
{{- mac_camp.render_campaign_info(cleanup_campaign.campaign_name, cleanup_campaign.campaign_state, render_style="bullet") }}
Service state (on server)
{% if signed_user.is_admin %} {% else %} {% if cleanup_campaign.is_enabled %} ON {% else %} OFF {% endif %} {% endif %}
{% for cleanup_ts in cleanup_timeseries %} {% if cleanup_ts.id is not none %} {{ cleanup_ts.last_timestamp | iso_datetime_format(tz_name=cleanup_campaign.campaign_timezone, default="NULL") }} {% else %} {% endif %} {% endfor %}
Timeseries Cleanup
Name Unit Last timestamp
{{ cleanup_ts.timeseries_name }} {{ cleanup_ts.timeseries_unit_symbol }}Not cleaned yet
{% endblock main_content %} {% block body_scripts %} {{ super() -}} {% filter indent(width=8, first=True) %} {% endfilter %} {% endblock body_scripts %}