From 88ef322b4e525e24ed06001cc2818a6364eb3b2a Mon Sep 17 00:00:00 2001 From: Mathieu Date: Sun, 21 Jul 2024 18:06:30 +0200 Subject: [PATCH] fix: Switch move type icons to svg --- .../smarty/extension/SmartyGeokretyExtension.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/app-templates/smarty/extension/SmartyGeokretyExtension.php b/website/app-templates/smarty/extension/SmartyGeokretyExtension.php index b509179bac..005431ccab 100644 --- a/website/app-templates/smarty/extension/SmartyGeokretyExtension.php +++ b/website/app-templates/smarty/extension/SmartyGeokretyExtension.php @@ -440,14 +440,14 @@ public function smarty_modifier_logicon(?GeoKrety\Model\Move $move, bool $showSm $url = GK_SITE_BASE_SERVER_URL.Base::instance()->alias('geokret_details', '@gkid='.$move->geokret->gkid); $img = sprintf( - '', + '', GK_CDN_IMAGES_URL, - $gkType, - $showSmall ? '2' : '', $move->move_type->getLogTypeId(), sprintf('%d: %s', $move->id, $move->move_type->getLogTypeString()), $move->move_type->getLogTypeId(), - $move->id + $move->id, + $showSmall ? '16' : '37', + $showSmall ? '16' : '37', ); return sprintf(