This is an automated email from the ASF dual-hosted git repository.
ryanahamilton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 7f828b0 Get all "tags" parameters not just one (#12324)
7f828b0 is described below
commit 7f828b03ccef848c740f8013c56a856708ed505c
Author: Ryan Hamilton <[email protected]>
AuthorDate: Thu Nov 12 16:45:25 2020 -0500
Get all "tags" parameters not just one (#12324)
---
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 a43eb7b..9f4d3ae 100644
--- a/airflow/www/templates/airflow/dags.html
+++ b/airflow/www/templates/airflow/dags.html
@@ -41,9 +41,9 @@
<div class="row dags-table-header">
<div class="col-md-4">
<div class="form-group btn-group">
- <a href="{{ url_for('Airflow.index', status='all',
search=request.args.get('search', None), tags=request.args.get('tags', None))
}}" class="btn {{'btn-primary' if status_filter == 'all' else 'btn-default'}}"
title="Show active and paused DAGS">All <span class="badge">{{
"{:,}".format(status_count_all) }}</span></a>
- <a href="{{ url_for('Airflow.index', status='active',
search=request.args.get('search', None), tags=request.args.get('tags', None))
}}" class="btn {{'btn-primary' if status_filter == 'active' else
'btn-default'}}" title="Show only active DAGS">Active <span class="badge">{{
"{:,}".format(status_count_active) }}</span></a>
- <a href="{{ url_for('Airflow.index', status='paused',
search=request.args.get('search', None), tags=request.args.get('tags', None))
}}" class="btn {{'btn-primary' if status_filter == 'paused' else
'btn-default'}}" title="Show only paused DAGS">Paused <span class="badge">{{
"{:,}".format(status_count_paused) }}</span></a>
+ <a href="{{ url_for('Airflow.index', status='all',
search=request.args.get('search', None), tags=request.args.getlist('tags',
None)) }}" class="btn {{'btn-primary' if status_filter == 'all' else
'btn-default'}}" title="Show active and paused DAGS">All <span class="badge">{{
"{:,}".format(status_count_all) }}</span></a>
+ <a href="{{ url_for('Airflow.index', status='active',
search=request.args.get('search', None), tags=request.args.getlist('tags',
None)) }}" class="btn {{'btn-primary' if status_filter == 'active' else
'btn-default'}}" title="Show only active DAGS">Active <span class="badge">{{
"{:,}".format(status_count_active) }}</span></a>
+ <a href="{{ url_for('Airflow.index', status='paused',
search=request.args.get('search', None), tags=request.args.getlist('tags',
None)) }}" class="btn {{'btn-primary' if status_filter == 'paused' else
'btn-default'}}" title="Show only paused DAGS">Paused <span class="badge">{{
"{:,}".format(status_count_paused) }}</span></a>
</div>
</div>
<div class="col-sm-6 col-md-3">