-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy pathwatchedArticleList.tpl
More file actions
69 lines (59 loc) · 1.86 KB
/
watchedArticleList.tpl
File metadata and controls
69 lines (59 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{capture assign='headContent'}
{if $pageNo < $pages}
<link rel="next" href="{link controller='WatchedArticleList'}pageNo={@$pageNo+1}{/link}">
{/if}
{if $pageNo > 1}
<link rel="prev" href="{link controller='WatchedArticleList'}{if $pageNo > 2}pageNo={@$pageNo-1}{/if}{/link}">
{/if}
{/capture}
{capture assign='sidebarRight'}
{if !$labelGroups|empty}
<form id="sidebarForm" method="post" action="{link application='wcf' controller=$controllerName object=$controllerObject}{/link}">
<section class="box">
<h2 class="boxTitle">{lang}wcf.label.label{/lang}</h2>
<div class="boxContent">
<dl>
{include file='__labelPickerGroup'}
</dl>
<div class="formSubmit">
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
</div>
</div>
</section>
</form>
{/if}
{/capture}
{capture assign='contentInteractionPagination'}
{pages print=true assign='pagesLinks' controller='WatchedArticleList' link="pageNo=%d"}
{/capture}
{capture assign='contentInteractionButtons'}
<button type="button" class="markAllAsReadButton contentInteractionButton button small jsOnly">{icon name='check'} <span>{lang}wcf.global.button.markAllAsRead{/lang}</span></button>
{/capture}
{include file='header'}
{if $objects|count}
<div class="section">
{include file='articleListItems'}
</div>
{else}
<p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<footer class="contentFooter">
{hascontent}
<div class="paginationBottom">
{content}{@$pagesLinks}{/content}
</div>
{/hascontent}
{hascontent}
<nav class="contentFooterNavigation">
<ul>
{content}{event name='contentFooterNavigation'}{/content}
</ul>
</nav>
{/hascontent}
</footer>
<script data-relocate="true">
require(['WoltLabSuite/Core/Ui/Article/MarkAllAsRead'], ({ setup }) => {
setup();
});
</script>
{include file='footer'}