mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
removed dupe
This commit is contained in:
@@ -39,18 +39,11 @@ define('notifications', ['sounds'], function(sound) {
|
|||||||
for (x = 0; x < data.read.length; x++) {
|
for (x = 0; x < data.read.length; x++) {
|
||||||
html += createNotification(data.read[x]);
|
html += createNotification(data.read[x]);
|
||||||
}
|
}
|
||||||
|
|
||||||
addSeeAllLink();
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
html += '<li class="no-notifs"><a>[[notifications:no_notifs]]</a></li>';
|
html += '<li class="no-notifs"><a>[[notifications:no_notifs]]</a></li>';
|
||||||
addSeeAllLink();
|
|
||||||
}
|
|
||||||
|
|
||||||
function addSeeAllLink() {
|
|
||||||
html += '<li class="pagelink"><a href="' + config.relative_path + '/notifications">[[notifications:see_all]]</a></li>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html += '<li class="pagelink"><a href="' + config.relative_path + '/notifications">[[notifications:see_all]]</a></li>';
|
||||||
|
|
||||||
notifList.translateHtml(html);
|
notifList.translateHtml(html);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user