From b2d96d9f37bbcf358fff2717d918e8df18699b78 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 11 Mar 2015 15:23:42 +0100 Subject: [PATCH] Improved notification list for legacy notifications --- com.woltlab.wcf/templates/notificationList.tpl | 2 +- wcfsetup/install/files/js/WCF.User.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/com.woltlab.wcf/templates/notificationList.tpl b/com.woltlab.wcf/templates/notificationList.tpl index fb8aa489dc..a4372cd073 100644 --- a/com.woltlab.wcf/templates/notificationList.tpl +++ b/com.woltlab.wcf/templates/notificationList.tpl @@ -67,7 +67,7 @@
  • {if $notification[authors] < 2} -
    +
    {@$notification[event]->getAuthor()->getAvatar()->getImageTag(32)}
    diff --git a/wcfsetup/install/files/js/WCF.User.js b/wcfsetup/install/files/js/WCF.User.js index 58d1dfcf67..8dfea5b754 100644 --- a/wcfsetup/install/files/js/WCF.User.js +++ b/wcfsetup/install/files/js/WCF.User.js @@ -1750,7 +1750,7 @@ WCF.Notification.List = Class.extend({ } // work-around for legacy notifications - if (!$item.find('a').length) { + if (!$item.find('a:not(.notificationItemMarkAsConfirmed)').length) { $item.find('.details > p:eq(0)').html(function(index, oldHTML) { return '' + oldHTML + ''; }); -- 2.20.1