Skip to content

Commit

Permalink
collapse docs when click and folded (apache#41214)
Browse files Browse the repository at this point in the history
  • Loading branch information
romsharon98 authored Aug 3, 2024
1 parent e3525cf commit 8884166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/www/templates/appbuilder/dag_docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
<div class="panel panel-primary">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"{% if folded %} class="accordion-togglecollapsed{% endif %}">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"{% if folded %} class="accordion-togglecollapsed"{% endif %}>
{% if folded %}<span class="material-icons" aria-hidden="true">info_outline</span>{% endif %}
DAG Docs
{% if folded %}<span class="material-icons pull-right toggle-direction" aria-hidden="true">expand_less</span>{% endif %}
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse{% if folded %} collapse{% endif %}" role="tabpanel" aria-labelledby="headingOne">
<div id="collapseOne" class="panel-collapse{% if folded %} collapse{% else %} in{% endif %}" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
{{ doc_md }}
</div>
Expand Down

0 comments on commit 8884166

Please sign in to comment.