This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 42c409dc43 Open links in new tab that take us away from Airflow UI
(#32088)
42c409dc43 is described below
commit 42c409dc43a260161d7081049c3caacb4f6037f5
Author: Pankaj Koti <[email protected]>
AuthorDate: Fri Jun 23 14:44:29 2023 +0530
Open links in new tab that take us away from Airflow UI (#32088)
I am observing that clicking on the "Click here" links take us
away from Airflow UI to the docs domain and I need to press on
back to get back to Airflow UI. Ideally, we could open these links
in new tab and trying to do the same here with this commit using
the targer="_blank" attribute for the anchor tags.
---
airflow/www/templates/airflow/dags.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/airflow/www/templates/airflow/dags.html
b/airflow/www/templates/airflow/dags.html
index 80b37f6a42..3399051192 100644
--- a/airflow/www/templates/airflow/dags.html
+++ b/airflow/www/templates/airflow/dags.html
@@ -110,18 +110,18 @@
{% call show_message(category='warning', dismissible=false) %}
Do not use <b>SQLite</b> as metadata DB in production – it should
only be used for dev/testing.
We recommend using Postgres or MySQL.
- <a href={{ get_docs_url("howto/set-up-database.html") }}><b>Click
here</b></a> for more information.
+ <a href={{ get_docs_url("howto/set-up-database.html") }}
target="_blank"><b>Click here</b></a> for more information.
{% endcall %}
{% endif %}
{% if production_executor_warning | default(false) %}
{% call show_message(category='warning', dismissible=false) %}
Do not use the <b>{{ production_executor_warning }}</b> in production.
- <a href={{ get_docs_url("executor/index.html") }}><b>Click here</b></a>
for more information.
+ <a href={{ get_docs_url("executor/index.html") }}
target="_blank"><b>Click here</b></a> for more information.
{% endcall %}
{% endif %}
{% if otel_on | default(false) %}
{% call show_message(category='warning', dismissible=false) %}
- OpenTelemetry support is experimental. <a
href="https://github.com/apache/airflow/blob/main/BREEZE.rst#running-breeze-with-an-opentelemetry-metrics-stack">
+ OpenTelemetry support is experimental. <a
href="https://github.com/apache/airflow/blob/main/BREEZE.rst#running-breeze-with-an-opentelemetry-metrics-stack"
target="_blank">
<b>Click here</b></a> for more information.
{% endcall %}
{% endif %}