Commit | Line | Data |
---|---|---|
3e93caf9 MW |
1 | {capture assign='headContent'} |
2 | <link rel="canonical" href="{link controller='RecentActivityList'}{/link}" /> | |
3 | {/capture} | |
320f4a6d | 4 | |
95961bdf | 5 | {include file='header'} |
320f4a6d | 6 | |
320f4a6d | 7 | {if $eventList|count} |
95961bdf | 8 | <div class="section sectionContainerList"> |
320f4a6d MW |
9 | <ul id="recentActivities" class="containerList recentActivityList" data-last-event-time="{@$lastEventTime}"> |
10 | {include file='recentActivityListItem'} | |
11 | </ul> | |
12 | </div> | |
13 | ||
e7b063d6 | 14 | <footer class="contentFooter"> |
320f4a6d | 15 | {hascontent} |
e7b063d6 | 16 | <nav class="contentFooterNavigation"> |
320f4a6d | 17 | <ul> |
e7b063d6 | 18 | {content}{event name='contentFooterNavigation'}{/content} |
320f4a6d MW |
19 | </ul> |
20 | </nav> | |
21 | {/hascontent} | |
e7b063d6 | 22 | </footer> |
320f4a6d MW |
23 | {else} |
24 | <p class="info">{lang}wcf.user.recentActivity.noEntries{/lang}</p> | |
25 | {/if} | |
26 | ||
3e93caf9 MW |
27 | <script data-relocate="true"> |
28 | //<![CDATA[ | |
29 | $(function() { | |
30 | WCF.Language.addObject({ | |
31 | 'wcf.user.recentActivity.more': '{lang}wcf.user.recentActivity.more{/lang}', | |
32 | 'wcf.user.recentActivity.noMoreEntries': '{lang}wcf.user.recentActivity.noMoreEntries{/lang}' | |
33 | }); | |
34 | ||
35 | new WCF.User.RecentActivityLoader(null); | |
36 | }); | |
37 | //]]> | |
38 | </script> | |
320f4a6d | 39 | |
3e93caf9 | 40 | {include file='footer'} |