{% load i18n %} {% comment %} Whole body of the export progress modal (header, figures, footer), served by app_data:data_exporter_progress. Self-refreshing while the task is live: the polling attributes are omitted once it is terminal, which is what stops the loop (same idiom as app_data/tasks/detail.html). The modal header is part of this partial on purpose - it is what lets the title follow the task's state rather than staying on "in progress" for ever. {% endcomment %} {% if is_running %}