Merge branch '135-commitments' into 'develop'

feat: ✨ add button to download a file on commitments > ethics section

See merge request ldc-web/projets/ldc!159
This commit is contained in:
Noix 2026-04-28 08:48:07 +00:00
commit 451e950a7f

View file

@ -24,10 +24,16 @@
'image' => [
['url' => $item['image_visual']]
],
'button' => !empty($item['list_button']) ? [
'url' => \App\Models\Document::getAccessModel($item['list_button'][0]['model_document']),
'target' => '_blank',
'title' => $item['list_button'][0]['string_label'],
] : null,
'button_icon' => !empty($item['list_button']) ? 'btn__icon_dl' : null
];
})->toArray();
@endphp
<x-front.text-block
<x-front.text-block
:textBlock="[
'bg' => '0',
'title' => $business['string_title'],