fix: added the target blank attribute to the report in commitments page when needed

This commit is contained in:
Noah Lancien 2024-07-25 17:15:18 +02:00
parent ddea9f65c2
commit c4abbf28e6

View file

@ -473,8 +473,8 @@
</a>
</div>
<div class="col d-flex flex-column justify-content-center mx-auto mb-4 overflow-hidden text-center">
<a class="btn btn-white rounded-pill mx-auto w-fit"
href="{{ $testimonialsSection->data['bloc_link']['value'] }}">{{ __('Lire le rapport') }}</a>
<a class="btn btn-white rounded-pill mx-auto w-fit" href="{{ $testimonialsSection->data['bloc_link']['value'] }}"
@if ($testimonialsSection->data['bloc_link_new_tab']['value']) target="_blank" @endif>{{ __('Lire le rapport') }}</a>
</div>
</div>