Overhauled templates
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / ignoredUsers.tpl
1 {include file='documentHeader'}
2
3 <head>
4 <title>{lang}wcf.user.ignoredUsers{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
5 {include file='headInclude'}
6
7 <script data-relocate="true">
8 //<![CDATA[
9 $(function() {
10 new WCF.Action.Delete('wcf\\data\\user\\ignore\\UserIgnoreAction', '.jsIgnoredUser');
11 });
12 //]]>
13 </script>
14 </head>
15
16 <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
17
18 {include file='userMenuSidebar'}
19
20 {include file='header'}
21
22 <header class="contentHeader">
23 <div class="contentHeaderTitle">
24 <h1 class="contentTitle">{lang}wcf.user.ignoredUsers{/lang} <span class="badge">{#$items}</span></h1>
25 </div>
26
27 {hascontent}
28 <nav class="contentHeaderNavigation">
29 <ul>
30 {content}{event name='contentHeaderNavigation'}{/content}
31 </ul>
32 </nav>
33 {/hascontent}
34 </header>
35
36 {include file='userNotice'}
37
38 {hascontent}
39 <div class="paginationTop">
40 {content}{pages print=true assign=pagesLinks controller='IgnoredUsers' link="pageNo=%d"}{/content}
41 </div>
42 {/hascontent}
43
44 {if $objects|count}
45 <div class="section sectionContainerList">
46 <ol class="containerList userList">
47 {foreach from=$objects item=user}
48 <li class="jsIgnoredUser">
49 <div class="box48">
50 <a href="{link controller='User' object=$user}{/link}" title="{$user->username}">{@$user->getAvatar()->getImageTag(48)}</a>
51
52 <div class="details userInformation">
53 {include file='userInformationHeadline'}
54
55 <nav class="jsMobileNavigation buttonGroupNavigation">
56 <ul class="buttonList iconList jsOnly">
57 <li><a class="pointer jsTooltip jsDeleteButton" title="{lang}wcf.user.button.unignore{/lang}" data-object-id="{@$user->ignoreID}"><span class="icon icon16 fa-times"></span> <span class="invisible">{lang}wcf.user.button.unignore{/lang}</span></a></li>
58 {event name='userButtons'}
59 </ul>
60 </nav>
61
62 {include file='userInformationStatistics'}
63 </div>
64 </div>
65 </li>
66 {/foreach}
67 </ol>
68 </div>
69
70 <footer class="contentFooter">
71 {hascontent}
72 <div class="paginationBottom">
73 {content}{@$pagesLinks}{/content}
74 </div>
75 {/hascontent}
76
77 {hascontent}
78 <nav class="contentFooterNavigation">
79 <ul>
80 {content}{event name='contentFooterNavigation'}{/content}
81 </ul>
82 </nav>
83 {/hascontent}
84 </footer>
85 {else}
86 <p class="info">{lang}wcf.user.ignoredUsers.noUsers{/lang}</p>
87 {/if}
88
89 {include file='footer'}
90
91 </body>
92 </html>