| 1 | {include file='userMenuSidebar'} |
| 2 | |
| 3 | {include file='header'} |
| 4 | |
| 5 | {hascontent} |
| 6 | <div class="paginationTop"> |
| 7 | {content}{pages print=true assign=pagesLinks controller='Following' link="pageNo=%d"}{/content} |
| 8 | </div> |
| 9 | {/hascontent} |
| 10 | |
| 11 | {if $objects|count} |
| 12 | <div class="section sectionContainerList"> |
| 13 | <ol class="containerList userList"> |
| 14 | {foreach from=$objects item=user} |
| 15 | <li class="jsFollowing"> |
| 16 | <div class="box48"> |
| 17 | <a href="{link controller='User' object=$user}{/link}" title="{$user->username}">{@$user->getAvatar()->getImageTag(48)}</a> |
| 18 | |
| 19 | <div class="details userInformation"> |
| 20 | {include file='userInformationHeadline'} |
| 21 | |
| 22 | <nav class="jsMobileNavigation buttonGroupNavigation"> |
| 23 | <ul class="buttonList iconList jsOnly"> |
| 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> |
| 25 | {event name='userButtons'} |
| 26 | </ul> |
| 27 | </nav> |
| 28 | |
| 29 | {include file='userInformationStatistics'} |
| 30 | </div> |
| 31 | </div> |
| 32 | </li> |
| 33 | {/foreach} |
| 34 | </ol> |
| 35 | </div> |
| 36 | |
| 37 | <footer class="contentFooter"> |
| 38 | {hascontent} |
| 39 | <div class="paginationBottom"> |
| 40 | {content}{@$pagesLinks}{/content} |
| 41 | </div> |
| 42 | {/hascontent} |
| 43 | |
| 44 | {hascontent} |
| 45 | <nav class="contentFooterNavigation"> |
| 46 | <ul> |
| 47 | {content}{event name='contentFooterNavigation'}{/content} |
| 48 | </ul> |
| 49 | </nav> |
| 50 | {/hascontent} |
| 51 | </footer> |
| 52 | {else} |
| 53 | <p class="info">{lang}wcf.user.following.noUsers{/lang}</p> |
| 54 | {/if} |
| 55 | |
| 56 | <script data-relocate="true"> |
| 57 | //<![CDATA[ |
| 58 | $(function() { |
| 59 | new WCF.Action.Delete('wcf\\data\\user\\follow\\UserFollowAction', '.jsFollowing'); |
| 60 | }); |
| 61 | //]]> |
| 62 | </script> |
| 63 | |
| 64 | {include file='footer'} |