Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Commit

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

Flask/FAB gives us a `base_template` variable that we should use instead
of hard-coding a specific template to extend.
  • Loading branch information
ashb authored and galuszkak committed Mar 5, 2020
1 parent 3d354be commit f8967b5
Show file tree
Hide file tree
Showing 8 changed files with 8 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
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/code.html
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 page_title %}{{ dag.dag_id }} - Code - Airflow{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/config.html
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 title %}
{{ title }}
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/confirm.html
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 content %}
{{ super() }}
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/dag.html
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 page_title %}{{ dag.dag_id }} - Airflow{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/dags.html
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 page_title %}
{% if search_query %}
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/noaccess.html
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 title %}{{ title }}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/version.html
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 content %}
{{ super() }}
Expand Down

0 comments on commit f8967b5

Please sign in to comment.