Skip to content

Commit

Permalink
[AIRFLOW-6734] Use configured base_template instead of hard-coding (#…
Browse files Browse the repository at this point in the history
…7367)

cherry-picked from 976ec4d
  • Loading branch information
kaxil committed Mar 30, 2020
1 parent 6a683fa commit 4df480b
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
under the License.
#}

{% extends 'airflow/master.html' %}
{% extends base_template %}

{% block body %}
<div>
Expand Down
3 changes: 2 additions & 1 deletion airflow/www_rbac/templates/airflow/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
limitations under the License.

#}
{% extends "airflow/master.html" %}

{% extends base_template %}

{% block title %}
{{ title }}
Expand Down
3 changes: 2 additions & 1 deletion airflow/www_rbac/templates/airflow/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
limitations under the License.

#}
{% extends "airflow/master.html" %}

{% extends base_template %}

{% block title %}
{{ title }}
Expand Down
3 changes: 2 additions & 1 deletion airflow/www_rbac/templates/airflow/confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
limitations under the License.

#}
{% extends "airflow/master.html" %}

{% extends base_template %}

{% block content %}
{{ super() }}
Expand Down
3 changes: 2 additions & 1 deletion airflow/www_rbac/templates/airflow/dag.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
limitations under the License.

#}
{% extends "airflow/master.html" %}

{% extends base_template %}

{% block title %}Airflow - DAG {{ dag.dag_id }}{% endblock %}

Expand Down
3 changes: 2 additions & 1 deletion airflow/www_rbac/templates/airflow/dags.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
limitations under the License.

#}
{% extends "airflow/master.html" %}

{% extends base_template %}

{% block title %}Airflow - DAGs{% endblock %}

Expand Down
3 changes: 2 additions & 1 deletion airflow/www_rbac/templates/airflow/noaccess.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
limitations under the License.

#}
{% extends "airflow/master.html" %}

{% extends base_template %}

{% block title %}{{ title }}{% endblock %}

Expand Down
3 changes: 2 additions & 1 deletion airflow/www_rbac/templates/airflow/version.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
# under the License.
#
#}
{% extends "airflow/master.html" %}

{% extends base_template %}

{% block content %}
{{ super() }}
Expand Down

0 comments on commit 4df480b

Please sign in to comment.