Skip to content

Commit

Permalink
Fix Dag Details start date bug (apache#16206)
Browse files Browse the repository at this point in the history
* Only show Start Date when catchup=True

* add catchup field to details

* add started field for catchup=false dags

(cherry picked from commit ebc03c6)
(cherry picked from commit 8114542)
  • Loading branch information
bbovenzi authored and kaxil committed Jun 22, 2021
1 parent f3fb06c commit 8d40ce4
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions airflow/www/templates/airflow/dag_details.html
Expand Up @@ -49,9 +49,20 @@ <h3>{{ title }}</h3>
<td>{{ dag.schedule_interval }}</td>
</tr>
<tr>
<th>Start Date</th>
<td>{{ dag.start_date }}</td>
<th>Catchup</th>
<td>{{ dag.catchup }}</td>
</tr>
{% if dag.catchup %}
<tr>
<th>Start Date</th>
<td class="js-format-date">{{ dag.start_date }}</td>
</tr>
{% else %}
<tr>
<th>Started</th>
<td>{{ states|length > 0 }}</td>
</tr>
{% endif %}
<tr>
<th>End Date</th>
<td>{{ dag.end_date }}</td>
Expand Down

0 comments on commit 8d40ce4

Please sign in to comment.