Skip to content

Commit

Permalink
Filter dags by clicking on tag (apache#8897)
Browse files Browse the repository at this point in the history
Co-authored-by: Zacharya <zacharya19@gmail.com>
  • Loading branch information
Sangarshanan and zacharya19 authored May 27, 2020
1 parent 5a7a3d1 commit 30b12a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion airflow/www/templates/airflow/dags.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ <h2>DAGs</h2>

<div style="float: right; max-width: 70%; text-align: right; line-height: 160%;">
{% for tag in dag.tags | sort(attribute='name') %}
<span class="label label-success" style="margin: 3px;">{{ tag.name }}</span>
<a class="label label-success"
href="?tags={{ tag.name }}"
style="margin: 3px;">
{{ tag.name }}
</a>
{% endfor %}
</div>
</td>
Expand Down

0 comments on commit 30b12a9

Please sign in to comment.