-<span
- class="icon icon{$size} fa-{$trophy->iconName} trophyIcon jsTooltip"
+<span
+ class="icon icon{$size} fa-{$trophy->iconName} trophyIcon{if $showTooltip} jsTooltip{/if}"
style="color: {$trophy->iconColor}; background-color: {$trophy->badgeColor}"
data-trophy-id="{$trophy->trophyID}"
- title="{$trophy->getTitle()}"
+ {if $showTooltip}title="{$trophy->getTitle()}"{/if}
></span>
<img
src="{@$__wcf->getPath()}images/trophy/{$trophy->iconFile}"
style="width:{$size}px;height:{$size}px"
- title="{$trophy->getTitle()}"
- class="jsTooltip trophyIcon"
+ {if $showTooltip}title="{$trophy->getTitle()}"{/if}
+ class="trophyIcon{if $showTooltip} jsTooltip{/if}"
data-trophy-id="{$trophy->getObjectID()}"
/>