Merge branch '2.0'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / recentActivityList.tpl
1 {include file='documentHeader'}
2
3 <head>
4 <title>{lang}wcf.user.recentActivity{/lang} - {PAGE_TITLE|language}</title>
5
6 {include file='headInclude'}
7
8 <link rel="canonical" href="{link controller='RecentActivityList'}{/link}" />
9
10 <script data-relocate="true">
11 //<![CDATA[
12 $(function() {
13 WCF.Language.addObject({
14 'wcf.user.recentActivity.more': '{lang}wcf.user.recentActivity.more{/lang}',
15 'wcf.user.recentActivity.noMoreEntries': '{lang}wcf.user.recentActivity.noMoreEntries{/lang}'
16 });
17
18 new WCF.User.RecentActivityLoader(null);
19 });
20 //]]>
21 </script>
22 </head>
23
24 <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
25
26 {capture assign='sidebar'}
27 {@$__boxSidebar}
28 {/capture}
29
30 {include file='header' sidebarOrientation='right'}
31
32 <header class="boxHeadline">
33 <h1>{lang}wcf.user.recentActivity{/lang}</h1>
34 </header>
35
36 {include file='userNotice'}
37
38 <div class="contentNavigation">
39 {hascontent}
40 <nav>
41 <ul>
42 {content}
43 {event name='contentNavigationButtonsTop'}
44 {/content}
45 </ul>
46 </nav>
47 {/hascontent}
48 </div>
49
50 {if $eventList|count}
51 <div class="container marginTop">
52 <ul id="recentActivities" class="containerList recentActivityList" data-last-event-time="{@$lastEventTime}">
53 {include file='recentActivityListItem'}
54 </ul>
55 </div>
56
57 <div class="contentNavigation">
58 {hascontent}
59 <nav>
60 <ul>
61 {content}
62 {event name='contentNavigationButtonsBottom'}
63 {/content}
64 </ul>
65 </nav>
66 {/hascontent}
67 </div>
68 {else}
69 <p class="info">{lang}wcf.user.recentActivity.noEntries{/lang}</p>
70 {/if}
71
72 {include file='footer'}
73
74 </body>
75 </html>