Commit | Line | Data |
---|---|---|
8444b115 | 1 | {if $users|count} |
95961bdf | 2 | <div class="section sectionContainerList"> |
8444b115 MW |
3 | <ol class="containerList jsGroupedUserList"> |
4 | {foreach from=$users item=user} | |
5 | <li data-object-id="{@$user->userID}"> | |
6 | <div class="box48"> | |
2ee5392c | 7 | {user object=$user type='avatar48' ariaHidden='true' tabindex='-1'} |
8444b115 MW |
8 | |
9 | <div class="details userInformation"> | |
10 | <div class="containerHeadline"> | |
72c85f64 | 11 | <h3>{user object=$user}{if MODULE_USER_RANK} |
831586de MW |
12 | {if $user->getUserTitle()} |
13 | <span class="badge userTitleBadge{if $user->getRank() && $user->getRank()->cssClassName} {@$user->getRank()->cssClassName}{/if}">{$user->getUserTitle()}</span> | |
14 | {/if} | |
15 | {if $user->getRank() && $user->getRank()->rankImage} | |
16 | <span class="userRankImage">{@$user->getRank()->getImage()}</span> | |
17 | {/if} | |
18 | {/if}</h3> | |
8444b115 MW |
19 | </div> |
20 | <ul class="dataList userFacts"> | |
5985cdc8 | 21 | <li>{$user->getBirthday($year)}</li> |
8444b115 MW |
22 | </ul> |
23 | ||
24 | {include file='userInformationButtons'} | |
d7f7f6eb | 25 | |
929f7e47 MW |
26 | <dl class="plain inlineDataList"> |
27 | {include file='userInformationStatistics'} | |
fe17bd5f | 28 | </dl> |
8444b115 MW |
29 | </div> |
30 | </div> | |
31 | </li> | |
32 | {/foreach} | |
33 | </ol> | |
34 | </div> | |
35 | {else} | |
a14d7068 | 36 | <woltlab-core-notice type="info">{lang}wcf.global.noItems{/lang}</woltlab-core-notice> |
d577f976 MW |
37 | {/if} |
38 | ||
39 | <script data-relocate="true"> | |
40 | $(function() { | |
41 | WCF.Language.addObject({ | |
e2e8c155 | 42 | 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}', |
e2e8c155 | 43 | 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}', |
d577f976 MW |
44 | }); |
45 | ||
46 | new WCF.User.Action.Follow($('.jsGroupedUserList > li')); | |
d577f976 MW |
47 | }); |
48 | </script> |