VICIWUOHA commented on code in PR #40635:
URL: https://github.com/apache/airflow/pull/40635#discussion_r1667735437
##########
airflow/www/templates/appbuilder/navbar_menu.html:
##########
@@ -18,7 +18,12 @@
#}
{% macro menu_item(item) %}
- <a href="{{item.get_url()}}">{{_(item.label)}}</a>
+ {% set url = item.get_url() %}
+ {% if 'apache' in url %}
Review Comment:
My thoughts here..
```
{% if 'https://github.com/apache/airflow' in url or
'https://airflow.apache.org/' in url or
'apache-airflow-docs.s3' in url %}
```
or declaring a proper list to make this neater.....
--
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]