From 382d2154a9d01a780875e8e126b21e9e24754bfd Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 8 Sep 2019 20:03:39 +0200 Subject: [PATCH] Unify HTML code for number of times reactions was used --- com.woltlab.wcf/templates/__topReaction.tpl | 6 ++++-- wcfsetup/install/files/acp/templates/__topReaction.tpl | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) 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'} -- 2.20.1