{pages print=true assign=pagesLinks controller='ModerationList' link="definitionID=$definitionID&assignedUserID=$assignedUserID&status=$status&pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
{/capture}
-{capture assign='contentInteractionDropdownItems'}
- <li class="jsOnly"><a href="#" class="markAllAsReadButton">{lang}wcf.moderation.markAllAsRead{/lang}</a></li>
+{capture assign='contentInteractionButtons'}
+ <a href="#" class="markAllAsReadButton contentInteractionButton button small jsOnly">{lang}wcf.moderation.markAllAsRead{/lang}</a>
{/capture}
{include file='header'}
{pages print=true assign=pagesLinks controller='NotificationList' link="pageNo=%d"}
{/capture}
+{capture assign='contentInteractionButtons'}
+ {if $__wcf->getUserNotificationHandler()->getNotificationCount()}
+ <a href="#" class="jsMarkAllAsConfirmed contentInteractionButton button small jsOnly">{lang}wcf.user.notification.markAllAsConfirmed{/lang}</a>
+ {/if}
+{/capture}
+
{capture assign='contentInteractionDropdownItems'}
- {if $__wcf->getUserNotificationHandler()->getNotificationCount()}<li class="jsOnly"><a href="#" class="jsMarkAllAsConfirmed">{lang}wcf.user.notification.markAllAsConfirmed{/lang}</a></li>{/if}
<li><a rel="alternate" href="{link controller='NotificationFeed'}at={@$__wcf->getUser()->userID}-{@$__wcf->getUser()->accessToken}{/link}">{lang}wcf.global.button.rss{/lang}</a></li>
{/capture}
});
// handle 'mark all as confirmed' buttons
- $('.contentHeaderNavigation .jsMarkAllAsConfirmed').click(function () {
+ $('.jsMarkAllAsConfirmed').click(function () {
WCF.System.Confirmation.show(WCF.Language.get('wcf.user.notification.markAllAsConfirmed.confirmMessage'), function (action) {
if (action === 'confirm') {
new WCF.Action.Proxy({