Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / groupedUserList.tpl
CommitLineData
320f4a6d
MW
1{foreach from=$groupedUsers item=group}
2 {if $group}
95961bdf
MW
3 <section class="section sectionContainerList">
4 <h2 class="sectionTitle">{$group}</h2>
320f4a6d
MW
5 {/if}
6
7 {if $group|count}
95961bdf
MW
8 <ol class="containerList jsGroupedUserList">
9 {foreach from=$group item=user}
10 {include file='userListItem'}
11 {/foreach}
12 </ol>
320f4a6d 13 {else}
95961bdf
MW
14 <p>{$group->getNoUsersMessage()}</p>
15 {/if}
16
17 {if $group}
18 </section>
320f4a6d
MW
19 {/if}
20{/foreach}
21
e7b063d6 22<div class="paginationTop jsPagination"></div>
320f4a6d 23
9543d9fe 24<script data-relocate="true">
320f4a6d
MW
25 //<![CDATA[
26 $(function() {
27 WCF.Language.addObject({
28 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
29 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
30 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
31 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
32 });
33
34 new WCF.User.Action.Follow($('.jsGroupedUserList > li'));
35 new WCF.User.Action.Ignore($('.jsGroupedUserList > li'));
36 });
37 //]]>
38</script>