| 1 | {include file='userMenuSidebar'} |
| 2 | |
| 3 | {capture assign='contentTitleBadge'}<span class="badge">{#$items}</span>{/capture} |
| 4 | |
| 5 | {capture assign='contentInteractionPagination'} |
| 6 | {pages print=true assign=pagesLinks controller='Following' link="pageNo=%d"} |
| 7 | {/capture} |
| 8 | |
| 9 | {include file='header' __sidebarLeftHasMenu=true} |
| 10 | |
| 11 | {if $objects|count} |
| 12 | <div class="section sectionContainerList"> |
| 13 | <ol class="containerList userList jsReloadPageWhenEmpty jsObjectActionContainer" data-object-action-class-name="wcf\data\user\follow\UserFollowAction"> |
| 14 | {foreach from=$objects item=user} |
| 15 | <li class="jsFollowing jsObjectActionObject" data-object-id="{@$user->getObjectID()}"> |
| 16 | <div class="box48"> |
| 17 | {user object=$user type='avatar48' ariaHidden='true' tabindex='-1'} |
| 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 jsObjectAction" data-object-action="delete" title="{lang}wcf.user.button.unfollow{/lang}" data-object-id="{@$user->followID}">{icon name='xmark'} <span class="invisible">{lang}wcf.user.button.unfollow{/lang}</span></a></li> |
| 25 | {event name='userButtons'} |
| 26 | </ul> |
| 27 | </nav> |
| 28 | |
| 29 | <dl class="plain inlineDataList small"> |
| 30 | {include file='userInformationStatistics'} |
| 31 | </dl> |
| 32 | </div> |
| 33 | </div> |
| 34 | </li> |
| 35 | {/foreach} |
| 36 | </ol> |
| 37 | </div> |
| 38 | |
| 39 | <footer class="contentFooter"> |
| 40 | {hascontent} |
| 41 | <div class="paginationBottom"> |
| 42 | {content}{@$pagesLinks}{/content} |
| 43 | </div> |
| 44 | {/hascontent} |
| 45 | |
| 46 | {hascontent} |
| 47 | <nav class="contentFooterNavigation"> |
| 48 | <ul> |
| 49 | {content}{event name='contentFooterNavigation'}{/content} |
| 50 | </ul> |
| 51 | </nav> |
| 52 | {/hascontent} |
| 53 | </footer> |
| 54 | {else} |
| 55 | <woltlab-core-notice type="info">{lang}wcf.user.following.noUsers{/lang}</woltlab-core-notice> |
| 56 | {/if} |
| 57 | |
| 58 | {include file='footer'} |