From 8114542a21159bf3943d0966f60d7d583b39de88 Mon Sep 17 00:00:00 2001 From: Brent Bovenzi Date: Tue, 8 Jun 2021 10:13:18 -0400 Subject: [PATCH] Fix Dag Details start date bug (#16206) * Only show Start Date when catchup=True * add catchup field to details * add started field for catchup=false dags (cherry picked from commit ebc03c63af7282c9d826054b17fe7ed50e09fe4e) --- airflow/www/templates/airflow/dag_details.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/airflow/www/templates/airflow/dag_details.html b/airflow/www/templates/airflow/dag_details.html index 8d30ef26f8dbe..e841319731468 100644 --- a/airflow/www/templates/airflow/dag_details.html +++ b/airflow/www/templates/airflow/dag_details.html @@ -49,9 +49,20 @@

{{ title }}

{{ dag.schedule_interval }} - Start Date - {{ dag.start_date }} + Catchup + {{ dag.catchup }} + {% if dag.catchup %} + + Start Date + {{ dag.start_date }} + + {% else %} + + Started + {{ states|length > 0 }} + + {% endif %} End Date {{ dag.end_date }}