Replace `userListItem` with `userCard` on team page
authorPeter Lohse <hanashi@hanashi.eu>
Sat, 6 Jul 2024 12:14:46 +0000 (14:14 +0200)
committerPeter Lohse <hanashi@hanashi.eu>
Sat, 6 Jul 2024 12:14:46 +0000 (14:14 +0200)
com.woltlab.wcf/templates/team.tpl

index 2bef480345f7dc3b05bcbf033ba4d7ed0c9975da..6b81af1313c1a8761dc18f4bfae92ff76bf5af99 100644 (file)
@@ -7,9 +7,9 @@
                        <p class="sectionDescription">{$team->getDescription()}</p>
                </header>
                        
-               <ol class="containerList userList">
+               <ol class="containerList userCardList">
                        {foreach from=$team->getMembers() item=user}
-                               {include file='userListItem'}
+                               {include file='userCard'}
                        {/foreach}
                </ol>
        </section>
        {/hascontent}
 </footer>
 
-<script data-relocate="true">
-       $(function() {
-               WCF.Language.addObject({
-                       'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
-                       'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
-               });
-               
-               new WCF.User.Action.Follow($('.userList > li'));
-       });
-</script>
-
 {include file='footer'}