Added user link data inside user popover
authorAlexander Ebert <ebert@woltlab.com>
Wed, 4 Jan 2017 10:59:11 +0000 (11:59 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 4 Jan 2017 10:59:17 +0000 (11:59 +0100)
Closes #2160

com.woltlab.wcf/templates/userInformationHeadline.tpl

index a2bfcae90bdf4666aac2bf8640c018064ce338b7..4bc231e6ce02c36633b8072bb9e4d3bebdded536 100644 (file)
@@ -1,5 +1,5 @@
 <div class="containerHeadline">
-       <h3><a href="{link controller='User' object=$user}{/link}" class="username">{$user->username}</a>{if $user->banned} <span class="icon icon16 fa-lock jsTooltip jsUserBanned" title="{lang}wcf.user.banned{/lang}"></span>{/if}
+       <h3><a href="{link controller='User' object=$user}{/link}" class="username userLink" data-user-id="{@$user->userID}">{$user->username}</a>{if $user->banned} <span class="icon icon16 fa-lock jsTooltip jsUserBanned" title="{lang}wcf.user.banned{/lang}"></span>{/if}
                {if MODULE_USER_RANK}
                        {if $user->getUserTitle()}
                                <span class="badge userTitleBadge{if $user->getRank() && $user->getRank()->cssClassName} {@$user->getRank()->cssClassName}{/if}">{$user->getUserTitle()}</span>