1 {capture assign='headContent'}
3 <link rel="next" href="{link controller='UnreadArticleList'}pageNo={@$pageNo+1}{/link}">
6 <link rel="prev" href="{link controller='UnreadArticleList'}{if $pageNo > 2}pageNo={@$pageNo-1}{/if}{/link}">
10 {capture assign='contentTitleBadge'}<span class="badge">{#$items}</span>{/capture}
12 {capture assign='headerNavigation'}
13 {if ARTICLE_ENABLE_VISIT_TRACKING}
14 <li class="jsOnly"><a href="#" title="{lang}wcf.article.markAllAsRead{/lang}" class="markAllAsReadButton jsTooltip"><span class="icon icon16 fa-check"></span> <span class="invisible">{lang}wcf.article.markAllAsRead{/lang}</span></a></li>
18 {capture assign='sidebarRight'}
19 {if !$labelGroups|empty}
20 <form id="sidebarForm" method="post" action="{link application='wcf' controller=$controllerName object=$controllerObject}{/link}">
22 <h2 class="boxTitle">{lang}wcf.label.label{/lang}</h2>
24 <div class="boxContent">
26 {foreach from=$labelGroups item=labelGroup}
27 {if $labelGroup|count}
28 <dt><label>{$labelGroup->getTitle()}</label></dt>
30 <ul class="labelList jsOnly">
31 <li class="dropdown labelChooser" id="labelGroup{@$labelGroup->groupID}" data-group-id="{@$labelGroup->groupID}">
32 <div class="dropdownToggle" data-toggle="labelGroup{@$labelGroup->groupID}"><span class="badge label">{lang}wcf.label.none{/lang}</span></div>
33 <div class="dropdownMenu">
34 <ul class="scrollableDropdownMenu">
35 {foreach from=$labelGroup item=label}
36 <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span></li>
43 {foreach from=$labelGroups item=labelGroup}
44 <select name="labelIDs[{@$labelGroup->groupID}]">
45 <option value="0">{lang}wcf.label.none{/lang}</option>
46 <option value="-1">{lang}wcf.label.withoutSelection{/lang}</option>
47 {foreach from=$labelGroup item=label}
48 <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{$label->getTitle()}</option>
57 <div class="formSubmit">
58 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
64 <script data-relocate="true">
66 WCF.Language.addObject({
67 'wcf.label.none': '{lang}wcf.label.none{/lang}',
68 'wcf.label.withoutSelection': '{lang}wcf.label.withoutSelection{/lang}'
71 new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true);
77 {include file='header'}
80 <div class="paginationTop">
82 {pages print=true assign='pagesLinks' controller='UnreadArticleList' link="pageNo=%d"}
89 {include file='articleListItems'}
92 <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
95 <footer class="contentFooter">
97 <div class="paginationBottom">
98 {content}{@$pagesLinks}{/content}
103 <nav class="contentFooterNavigation">
105 {content}{event name='contentFooterNavigation'}{/content}
111 {if ARTICLE_ENABLE_VISIT_TRACKING}
112 <script data-relocate="true">
113 require(['WoltLabSuite/Core/Ui/Article/MarkAllAsRead'], function(UiArticleMarkAllAsRead) {
114 UiArticleMarkAllAsRead.init();
119 {include file='footer'}