Skip to content

Commit

Permalink
DIGITAL-61: Glossary button should be in guide-header.html.twig not i…
Browse files Browse the repository at this point in the history
…n node--guides.html.twig.
  • Loading branch information
cathybaptista committed Dec 19, 2024
1 parent 9838292 commit 1eb8320
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@
{% endif %}
#}
{# this sets up the button to call the JS to show the glossary #}
{% if content.field_hcd_glossary['#title'] is not null %}
<button id="my-button">{{ content.field_hcd_glossary['#title'] }}</button>
{% endif %}

{% if guideData.showInPageNav %}
<div class="dg-guide__container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="deck">
{{ field.deck.value }}
</div>
{% if node.field_glossary.value %}
{% if node.field_hcd_glossary.value %}
<button class="dg-glossary__toggle">
<svg
width="16"
Expand Down

0 comments on commit 1eb8320

Please sign in to comment.