You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/13 14:26:49 UTC

[GitHub] [airflow] ryanahamilton commented on a change in pull request #16931: #16692 show cron description in UI

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



##########
File path: airflow/www/templates/airflow/dags.html
##########
@@ -163,6 +163,11 @@ <h2>{{ page_title }}</h2>
                   <a class="label label-default schedule" href="{{ url_for('DagRunModelView.list') }}?_flt_3_dag_id={{ dag.dag_id }}" data-dag-id="{{ dag.dag_id }}">
                     {{ dag.schedule_interval }}
                   </a>
+
+                  {% if dag.schedule_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="{{ dag.schedule_interval_description|string }}">info</span>

Review comment:
       One last nit:
   ```suggestion
                     <span id="schedule-description-{{ dag.safe_dag_id }}" class="material-icons text-muted js-tooltip" aria-hidden="true" data-original-title="{{ dag.schedule_interval_description|string }}">info</span>
   ```




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org