Commit | Line | Data |
---|---|---|
320f4a6d MW |
1 | {include file='userMenuSidebar'} |
2 | ||
524f0f91 | 3 | {include file='header' __sidebarLeftHasMenu=true} |
320f4a6d | 4 | |
e7b063d6 AE |
5 | {hascontent} |
6 | <div class="paginationTop"> | |
7 | {content}{pages print=true assign=pagesLinks controller='Following' link="pageNo=%d"}{/content} | |
8 | </div> | |
9 | {/hascontent} | |
320f4a6d MW |
10 | |
11 | {if $objects|count} | |
95961bdf | 12 | <div class="section sectionContainerList"> |
a84a45a4 | 13 | <ol class="containerList userList"> |
320f4a6d MW |
14 | {foreach from=$objects item=user} |
15 | <li class="jsFollowing"> | |
16 | <div class="box48"> | |
95961bdf | 17 | <a href="{link controller='User' object=$user}{/link}" title="{$user->username}">{@$user->getAvatar()->getImageTag(48)}</a> |
320f4a6d MW |
18 | |
19 | <div class="details userInformation"> | |
20 | {include file='userInformationHeadline'} | |
21 | ||
22 | <nav class="jsMobileNavigation buttonGroupNavigation"> | |
b925ad8f | 23 | <ul class="buttonList iconList jsOnly"> |
ca8bfa53 | 24 | <li><a class="pointer jsTooltip jsDeleteButton" title="{lang}wcf.user.button.unfollow{/lang}" data-object-id="{@$user->followID}"><span class="icon icon16 fa-times"></span> <span class="invisible">{lang}wcf.user.button.unfollow{/lang}</span></a></li> |
320f4a6d MW |
25 | {event name='userButtons'} |
26 | </ul> | |
27 | </nav> | |
28 | ||
38735374 MW |
29 | <dl class="plain inlineDataList small"> |
30 | {include file='userInformationStatistics'} | |
31 | </dl> | |
320f4a6d MW |
32 | </div> |
33 | </div> | |
34 | </li> | |
35 | {/foreach} | |
36 | </ol> | |
37 | </div> | |
38 | ||
e7b063d6 AE |
39 | <footer class="contentFooter"> |
40 | {hascontent} | |
41 | <div class="paginationBottom"> | |
42 | {content}{@$pagesLinks}{/content} | |
43 | </div> | |
44 | {/hascontent} | |
320f4a6d MW |
45 | |
46 | {hascontent} | |
e7b063d6 | 47 | <nav class="contentFooterNavigation"> |
320f4a6d | 48 | <ul> |
e7b063d6 | 49 | {content}{event name='contentFooterNavigation'}{/content} |
320f4a6d MW |
50 | </ul> |
51 | </nav> | |
52 | {/hascontent} | |
e7b063d6 | 53 | </footer> |
320f4a6d MW |
54 | {else} |
55 | <p class="info">{lang}wcf.user.following.noUsers{/lang}</p> | |
56 | {/if} | |
57 | ||
3e93caf9 | 58 | <script data-relocate="true"> |
3e93caf9 MW |
59 | $(function() { |
60 | new WCF.Action.Delete('wcf\\data\\user\\follow\\UserFollowAction', '.jsFollowing'); | |
61 | }); | |
3e93caf9 | 62 | </script> |
320f4a6d | 63 | |
3e93caf9 | 64 | {include file='footer'} |