Apply the “user online” formatting to mentions
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / userBBCodeTag.tpl
CommitLineData
b4346e66
AE
1{if $userProfile === null}
2 {* user no longer exists, use plain output rather than using a broken link *}
8b94750b 3 @{$username}{* no newline after the tag
413c2b4a 4*}{else}
2128751f 5 <a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="userMention userLink" data-object-id="{@$userProfile->userID}">{@$userProfile->getFormattedUsername()}</a>{* no newline after the tag
413c2b4a 6*}{/if}