| 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='IgnoredUsers' 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"> |
| 14 | {foreach from=$objects item=user} |
| 15 | <li class="jsIgnoredUser" 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> |
| 25 | <a class="pointer jsTooltip jsEditIgnoreButton" title="{lang}wcf.global.button.edit{/lang}"> |
| 26 | {icon name='pencil'} |
| 27 | <span class="invisible">{lang}wcf.global.button.edit{/lang}</span> |
| 28 | </a> |
| 29 | </li> |
| 30 | {event name='userButtons'} |
| 31 | </ul> |
| 32 | </nav> |
| 33 | |
| 34 | <dl class="plain inlineDataList small"> |
| 35 | {include file='userInformationStatistics'} |
| 36 | </dl> |
| 37 | </div> |
| 38 | </div> |
| 39 | </li> |
| 40 | {/foreach} |
| 41 | </ol> |
| 42 | </div> |
| 43 | |
| 44 | <footer class="contentFooter"> |
| 45 | {hascontent} |
| 46 | <div class="paginationBottom"> |
| 47 | {content}{@$pagesLinks}{/content} |
| 48 | </div> |
| 49 | {/hascontent} |
| 50 | |
| 51 | {hascontent} |
| 52 | <nav class="contentFooterNavigation"> |
| 53 | <ul> |
| 54 | {content}{event name='contentFooterNavigation'}{/content} |
| 55 | </ul> |
| 56 | </nav> |
| 57 | {/hascontent} |
| 58 | </footer> |
| 59 | |
| 60 | <script data-relocate="true"> |
| 61 | require(['Language', 'WoltLabSuite/Core/Ui/User/Ignore/List'], (Language, { UiUserIgnoreList }) => { |
| 62 | Language.addObject({ |
| 63 | 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}', |
| 64 | }); |
| 65 | |
| 66 | new UiUserIgnoreList(); |
| 67 | }); |
| 68 | </script> |
| 69 | {else} |
| 70 | <woltlab-core-notice type="info">{lang}wcf.user.ignoredUsers.noUsers{/lang}</woltlab-core-notice> |
| 71 | {/if} |
| 72 | |
| 73 | {include file='footer'} |