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 2022/03/09 16:18:32 UTC

[GitHub] [airflow] EricGao888 commented on a change in pull request #22118: Separate dag UI display name from dag_id

EricGao888 commented on a change in pull request #22118:
URL: https://github.com/apache/airflow/pull/22118#discussion_r822832550



##########
File path: airflow/www/templates/airflow/dags.html
##########
@@ -164,7 +164,7 @@ <h2>{{ page_title }}</h2>
                 <td>
                   <a href="{{ url_for('Airflow.'+ dag.get_default_view(), dag_id=dag.dag_id) }}"
                      title="{{ dag.description[0:80] + '…' if dag.description and dag.description|length > 80 else dag.description|default('', true) }}">
-                    <strong>{{ dag.dag_id }}</strong>
+                    <strong>{{ dag.display_name }}</strong>

Review comment:
       > Let's still expose the `dag_id` on hover.
   
   Cool! Will fix it in the next commit. Thx for the suggestions : )




-- 
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