From: Matthias Schmidt Date: Sun, 8 Sep 2019 18:03:39 +0000 (+0200) Subject: Unify HTML code for number of times reactions was used X-Git-Tag: 5.2.0_Beta_2~66 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=382d2154a9d01a780875e8e126b21e9e24754bfd;p=GitHub%2FWoltLab%2FWCF.git Unify HTML code for number of times reactions was used --- diff --git a/com.woltlab.wcf/templates/__topReaction.tpl b/com.woltlab.wcf/templates/__topReaction.tpl index 9c7e8bcce7..5203a15c74 100644 --- a/com.woltlab.wcf/templates/__topReaction.tpl +++ b/com.woltlab.wcf/templates/__topReaction.tpl @@ -2,11 +2,13 @@ {if $topReaction} {if $render === 'tiny'} - {@$topReaction[reaction]->renderIcon()} {#$topReaction[count]} + {@$topReaction[reaction]->renderIcon()} + {$topReaction[count]|shortUnit} {elseif $render === 'short'} - {@$topReaction[reaction]->renderIcon()} × {#$topReaction[count]} + {@$topReaction[reaction]->renderIcon()} + {$topReaction[count]|shortUnit} {elseif $render === 'full'} diff --git a/wcfsetup/install/files/acp/templates/__topReaction.tpl b/wcfsetup/install/files/acp/templates/__topReaction.tpl index 9c7e8bcce7..5203a15c74 100644 --- a/wcfsetup/install/files/acp/templates/__topReaction.tpl +++ b/wcfsetup/install/files/acp/templates/__topReaction.tpl @@ -2,11 +2,13 @@ {if $topReaction} {if $render === 'tiny'} - {@$topReaction[reaction]->renderIcon()} {#$topReaction[count]} + {@$topReaction[reaction]->renderIcon()} + {$topReaction[count]|shortUnit} {elseif $render === 'short'} - {@$topReaction[reaction]->renderIcon()} × {#$topReaction[count]} + {@$topReaction[reaction]->renderIcon()} + {$topReaction[count]|shortUnit} {elseif $render === 'full'}