pcandoalmeida commented on a change in pull request #10162:
URL: https://github.com/apache/airflow/pull/10162#discussion_r490444363
##########
File path: airflow/www/views.py
##########
@@ -356,11 +356,18 @@ def get_int_arg(value, default=0):
state_color_mapping = State.state_color.copy()
state_color_mapping["null"] = state_color_mapping.pop(None)
+ page_title = "Airflow - DAGs"
+ site_title = conf.get(section="webserver", key="site_title",
fallback="DAGs")
+ if site_title != "DAGs":
+ page_title = site_title
+
return self.render_template(
'airflow/dags.html',
dags=dags,
current_page=current_page,
search_query=arg_search_query if arg_search_query else '',
+ page_title=page_title,
Review comment:
I'll double check this, but if not needed for the UI will remove.
----------------------------------------------------------------
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]