Skip to content

Commit

Permalink
fix: Switch move type icons to svg
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed Jul 21, 2024
1 parent a112493 commit 88ef322
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
'<img src="%s/log-icons/%s/%s%s.png" title="%s" data-gk-move-type="%s" data-gk-move-id="%s" width="37px" height="37px">',
'<img src="%s/log-icons/0/%s.svg" title="%s" data-gk-move-type="%s" data-gk-move-id="%s" width="%dpx" height="%dpx">',
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(
Expand Down

0 comments on commit 88ef322

Please sign in to comment.