pateash commented on a change in pull request #16931:
URL: https://github.com/apache/airflow/pull/16931#discussion_r703248151



##########
File path: airflow/www/templates/airflow/dag.html
##########
@@ -91,11 +91,15 @@ <h4 class="pull-right" style="user-select: 
none;-moz-user-select: auto;">
       <a class="label label-default" href="{{ url_for('DagRunModelView.list') 
}}?_flt_3_dag_id={{ dag.dag_id }}">
         Schedule: {{ dag.schedule_interval }}
       </a>
+      {% if dag.timetable.interval_description is not none %}
+      <span id="schedule-description-{{ dag.safe_dag_id }}" 
class="material-icons text-muted js-tooltip" aria-hidden="true" 
data-original-title="Runs: {{ dag.timetable.interval_description|string 
}}">info</span>
+      {% endif %}

Review comment:
       sure, let me check,
   but as far as I know we always get DagModel object in dag.html,
   what are the cases where we will have Dag object. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to