Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / groupedUserList.tpl
1 {foreach from=$groupedUsers item=group}
2 {if $group}
3 <section class="section sectionContainerList">
4 <h2 class="sectionTitle">{$group}</h2>
5 {/if}
6
7 {if $group|count}
8 <ol class="containerList jsGroupedUserList">
9 {foreach from=$group item=user}
10 {include file='userListItem'}
11 {/foreach}
12 </ol>
13 {else}
14 <p>{$group->getNoUsersMessage()}</p>
15 {/if}
16
17 {if $group}
18 </section>
19 {/if}
20 {/foreach}
21
22 <div class="paginationTop jsPagination"></div>
23
24 <script data-relocate="true">
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>