Updating minified JavaScript files
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / following.tpl
CommitLineData
320f4a6d
MW
1{include file='documentHeader'}
2
3<head>
4 <title>{lang}wcf.user.following{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
5 {include file='headInclude'}
6
9543d9fe 7 <script data-relocate="true">
320f4a6d
MW
8 //<![CDATA[
9 $(function() {
10 new WCF.Action.Delete('wcf\\data\\user\\follow\\UserFollowAction', '.jsFollowing');
11 });
12 //]]>
13 </script>
14</head>
15
887a3153 16<body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
320f4a6d
MW
17
18{include file='userMenuSidebar'}
19
95961bdf 20{include file='header'}
320f4a6d 21
95961bdf 22<header class="contentHeader">
e7b063d6
AE
23 <div class="contentHeaderTitle">
24 <h1 class="contentTitle">{lang}wcf.user.following{/lang} <span class="badge">{#$items}</span></h1>
25 </div>
320f4a6d
MW
26
27 {hascontent}
e7b063d6 28 <nav class="contentHeaderNavigation">
320f4a6d 29 <ul>
e7b063d6 30 {content}{event name='contentHeaderNavigation'}{/content}
320f4a6d
MW
31 </ul>
32 </nav>
33 {/hascontent}
e7b063d6
AE
34</header>
35
36{include file='userNotice'}
37
38{hascontent}
39 <div class="paginationTop">
40 {content}{pages print=true assign=pagesLinks controller='Following' link="pageNo=%d"}{/content}
41 </div>
42{/hascontent}
320f4a6d
MW
43
44{if $objects|count}
95961bdf 45 <div class="section sectionContainerList">
a84a45a4 46 <ol class="containerList userList">
320f4a6d
MW
47 {foreach from=$objects item=user}
48 <li class="jsFollowing">
49 <div class="box48">
95961bdf 50 <a href="{link controller='User' object=$user}{/link}" title="{$user->username}">{@$user->getAvatar()->getImageTag(48)}</a>
320f4a6d
MW
51
52 <div class="details userInformation">
53 {include file='userInformationHeadline'}
54
55 <nav class="jsMobileNavigation buttonGroupNavigation">
b925ad8f 56 <ul class="buttonList iconList jsOnly">
ca8bfa53 57 <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
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
e7b063d6
AE
70 <footer class="contentFooter">
71 {hascontent}
72 <div class="paginationBottom">
73 {content}{@$pagesLinks}{/content}
74 </div>
75 {/hascontent}
320f4a6d
MW
76
77 {hascontent}
e7b063d6 78 <nav class="contentFooterNavigation">
320f4a6d 79 <ul>
e7b063d6 80 {content}{event name='contentFooterNavigation'}{/content}
320f4a6d
MW
81 </ul>
82 </nav>
83 {/hascontent}
e7b063d6 84 </footer>
320f4a6d
MW
85{else}
86 <p class="info">{lang}wcf.user.following.noUsers{/lang}</p>
87{/if}
88
89{include file='footer'}
90
91</body>
92</html>