From b129813ea5d38436563639b51ec9ed2882644228 Mon Sep 17 00:00:00 2001 From: Yassine Doghri Date: Mon, 1 Jul 2024 15:37:46 +0000 Subject: [PATCH] fix: set correct icons parameters in map and funding links views fixes #500 --- themes/cp_app/pages/map.php | 4 +++- themes/cp_app/podcast/_partials/funding_links_modal.php | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/themes/cp_app/pages/map.php b/themes/cp_app/pages/map.php index 8defde7d..c031efe8 100644 --- a/themes/cp_app/pages/map.php +++ b/themes/cp_app/pages/map.php @@ -45,7 +45,9 @@ 'mr-2', + ], ) . lang('Page.back_to_home') ?> diff --git a/themes/cp_app/podcast/_partials/funding_links_modal.php b/themes/cp_app/podcast/_partials/funding_links_modal.php index a810c35d..838fc50b 100644 --- a/themes/cp_app/podcast/_partials/funding_links_modal.php +++ b/themes/cp_app/podcast/_partials/funding_links_modal.php @@ -26,9 +26,10 @@ rel="noopener noreferrer" class="inline-flex items-center w-full font-semibold text-accent-base hover:text-accent-hover focus:ring-accent"> slug), - 'mr-2 flex-shrink-0', - $fundingPlatform->type + $fundingPlatform->type . ':' . $fundingPlatform->slug, + [ + 'class' => 'mr-2 flex-shrink-0', + ], ) . '' . esc($fundingPlatform->link_url) . '' ?>