Skip to content

Commit 9d25b31

Browse files
committed
hide legend
1 parent bdb3681 commit 9d25b31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jinja2/qfdmo/carte/header.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
</button>
2727
<div class="qf-flex qf-flex-row-reverse">
2828
{% if form.legend_grouped_action|length > 1 %}
29+
{% if carte_config and not carte_config.hide_legend %}
2930
<button
3031
class="fr-btn fr-btn--sm fr-btn--secondary fr-ml-1w fr-btn--icon-left fr-icon-eye-line"
3132
type="button"
@@ -34,6 +35,7 @@
3435
Légende
3536
</button>
3637
{% endif %}
38+
{% endif %}
3739
<button
3840
class="fr-btn fr-btn--sm fr-btn--secondary fr-ml-1w fr-btn--icon-left fr-icon-equalizer-line"
3941
type="button"

0 commit comments

Comments
 (0)