Commit | Line | Data |
---|---|---|
3e93caf9 MW |
1 | {capture assign='headContent'} |
2 | <link rel="canonical" href="{link controller='Team'}{/link}" /> | |
3 | {/capture} | |
320f4a6d | 4 | |
95961bdf | 5 | {include file='header'} |
320f4a6d | 6 | |
320f4a6d | 7 | {foreach from=$objects->getTeams() item=team} |
929f7e47 MW |
8 | <section class="section sectionContainerList"> |
9 | <header class="sectionHeader"> | |
10 | <h2 class="sectionTitle" id="group{@$team->groupID}">{$team->groupName|language} <span class="badge">{#$team->getMembers()|count}</span></h2> | |
11 | <small class="sectionDescription">{$team->groupDescription|language}</small> | |
12 | </header> | |
13 | ||
a84a45a4 | 14 | <ol class="containerList userList"> |
320f4a6d MW |
15 | {foreach from=$team->getMembers() item=user} |
16 | {include file='userListItem'} | |
17 | {/foreach} | |
18 | </ol> | |
b8eab696 | 19 | </section> |
320f4a6d MW |
20 | {/foreach} |
21 | ||
e7b063d6 | 22 | <footer class="contentFooter"> |
320f4a6d | 23 | {hascontent} |
e7b063d6 | 24 | <nav class="contentFooterNavigation"> |
320f4a6d | 25 | <ul> |
e7b063d6 | 26 | {content}{event name='contentFooterNavigation'}{/content} |
320f4a6d MW |
27 | </ul> |
28 | </nav> | |
29 | {/hascontent} | |
e7b063d6 | 30 | </footer> |
320f4a6d | 31 | |
3e93caf9 MW |
32 | <script data-relocate="true"> |
33 | //<![CDATA[ | |
34 | $(function() { | |
35 | WCF.Language.addObject({ | |
36 | 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}', | |
37 | 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}', | |
38 | 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}', | |
39 | 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}' | |
40 | }); | |
41 | ||
42 | new WCF.User.Action.Follow($('.userList > li')); | |
43 | new WCF.User.Action.Ignore($('.userList > li')); | |
44 | }); | |
45 | //]]> | |
46 | </script> | |
320f4a6d | 47 | |
3e93caf9 | 48 | {include file='footer'} |