Skip to content

Commit

Permalink
Fix broken cookie notice links in consent banner
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed Mar 20, 2024
1 parent f7a0e5b commit 50e8955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/components/_consent_banner.antlers.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ <h2 class="text-2xl font-bold">{{ trans:strings.consent_title }}</h2>
<p class="text-sm font-bold text-neutral">
{{ trans:strings.consent_explanation }}
{{ if configuration:cookie_notice_type == 'entry' }}
<a class="underline rounded hover:text-primary" href="{{ configuration:consent_notice_entry:url }}">{{ trans:strings.consent_learn_more }}</a>
<a class="underline rounded hover:text-primary" href="{{ configuration:cookie_notice_entry:url }}">{{ trans:strings.consent_learn_more }}</a>
{{ elseif configuration:cookie_notice_type == 'pdf' }}
<a class="underline rounded hover:text-primary" href="{{ configuration:consent_notice_asset }}" target="_blank">{{ trans:strings.consent_learn_more }}</a>
<a class="underline rounded hover:text-primary" href="{{ configuration:cookie_notice_asset }}" target="_blank">{{ trans:strings.consent_learn_more }}</a>
{{ /if }}
</p>

Expand Down

0 comments on commit 50e8955

Please sign in to comment.