first pass, #981

This commit is contained in:
Julian Lam
2014-02-10 12:41:29 -05:00
parent 3bdbd28532
commit b6e96541e7
7 changed files with 68 additions and 46 deletions

View File

@@ -29,10 +29,14 @@ define(function() {
}
} else {
notifList.append($('<li class="no-notifs"><a>You have no notifications</a></li>'));
translator.translate('<li class="no-notifs"><a>[[notifications:no_notifs]]</a></li>', function(translated) {
notifList.append($(translated));
});
}
notifList.append($('<li class="pagelink"><a href="' + RELATIVE_PATH + '/notifications">See all Notifications</a></li>'));
translator.translate('<li class="pagelink"><a href="' + RELATIVE_PATH + '/notifications">[[notifications:see_all]]</a></li>', function(translated) {
notifList.append($(translated));
});
updateNotifCount(data.unread.length);