Skip to content

Commit

Permalink
Merge pull request #799 from AlexRodwell/duplicate-notifications
Browse files Browse the repository at this point in the history
Fix duplicate notifications
  • Loading branch information
distributive authored Jan 6, 2024
2 parents c7a0897 + fa3cefb commit 3341ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/js/nrdb.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

user.update = function () {
var unchecked_activity_label = user.data.unchecked_activity ? '<span class="label label-success label-as-badge">' + user.data.unchecked_activity + '</span>' : '';
$('#login a span').after(unchecked_activity_label);
$('#login a span.glyphicon.glyphicon-user').after(unchecked_activity_label);
$('#login').addClass('dropdown').append('<ul class="dropdown-menu">'
+ '<li><a href="' + Routing.generate('user_profile', {_locale: NRDB.locale}) + '">Edit account</a></li>'
+ '<li><a href="' + Routing.generate('user_profile_view', {user_id: user.data.id, user_name: user.data.name, _locale: NRDB.locale}) + '">Public profile</a></li>'
Expand Down

0 comments on commit 3341ce4

Please sign in to comment.