From b29616fbd82e66f05f4b074b246fcc449f5c8485 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 22 Oct 2013 18:10:51 -0400 Subject: [PATCH] adding link to notifications page in notifications dropdown --- public/src/forum/footer.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/src/forum/footer.js b/public/src/forum/footer.js index b577647aa6..4c05432027 100644 --- a/public/src/forum/footer.js +++ b/public/src/forum/footer.js @@ -126,6 +126,13 @@ notifEl.innerHTML = 'You have no notifications'; notifFrag.appendChild(notifEl); } + + // Add dedicated link to /notifications + notifEl.removeAttribute('data-nid'); + notifEl.className = 'pagelink'; + notifEl.innerHTML = 'See all Notifications'; + notifFrag.appendChild(notifEl); + notifList.appendChild(notifFrag); if (data.unread.length > 0) notifIcon.className = 'icon-circle active';