Skip to content
Snippets Groups Projects
Commit 5d355248 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix: set correct icons parameters in map and funding links views

fixes #500
parent 7a8cd4c7
Branches
Tags
No related merge requests found
......@@ -45,7 +45,9 @@
<a href="<?= route_to('home') ?>"
class="inline-flex items-center mb-2 text-sm"><?= icon(
'arrow-left-line',
'mr-2',
[
'class' => 'mr-2',
],
) . lang('Page.back_to_home') ?></a>
<x-Heading tagName="h1" size="large"><?= lang('Page.map.title') ?></x-Heading>
</div>
......
......@@ -26,9 +26,10 @@
rel="noopener noreferrer"
class="inline-flex items-center w-full font-semibold text-accent-base hover:text-accent-hover">
<?= icon(
esc($fundingPlatform->slug),
'mr-2 flex-shrink-0',
$fundingPlatform->type
$fundingPlatform->type . ':' . $fundingPlatform->slug,
[
'class' => 'mr-2 flex-shrink-0',
],
) . '<span class="truncate">' . esc($fundingPlatform->link_url) . '</span>' ?>
</a>
<?php endif; ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment