mik-laj commented on a change in pull request #4787: [AIRFLOW-3967] Extract
Jinja directive from Javascript
URL: https://github.com/apache/airflow/pull/4787#discussion_r263335682
##########
File path: airflow/www/templates/airflow/dag.html
##########
@@ -22,6 +22,9 @@
{% block head_css %}
{{ super() }}
<link href="{{ url_for_asset('bootstrap-toggle.min.css') }}"
rel="stylesheet" type="text/css">
+ <meta name="dag-id" content="{{ dag.dag_id }}">
Review comment:
It would be a bit harder to add an additional attribute to html. So I will
leave the current version not to add additional complexity.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services