| 1 | {hascontent} |
| 2 | <div id="recentActivities" class="recentActivityList recentActivityList--userProfileContent" data-last-event-time="{$lastEventTime}" data-user-id="{$userID}"> |
| 3 | {content} |
| 4 | {include file='recentActivityListItem'} |
| 5 | {/content} |
| 6 | </div> |
| 7 | |
| 8 | <script data-relocate="true"> |
| 9 | require(['WoltLabSuite/Core/Component/User/RecentActivity/Loader'], ({ setup }) => { |
| 10 | {jsphrase name='wcf.user.recentActivity.more'} |
| 11 | {jsphrase name='wcf.user.recentActivity.noMoreEntries'} |
| 12 | |
| 13 | setup(document.getElementById('recentActivities')); |
| 14 | }); |
| 15 | </script> |
| 16 | {hascontentelse} |
| 17 | <div class="section"> |
| 18 | {if $placeholder|isset}{$placeholder}{/if} |
| 19 | </div> |
| 20 | {/hascontent} |