Add a 'settings' link to the user menu in static pages

pull/1/head
yflory 8 years ago
parent 370ae81106
commit 9a7c2dd5e2

@ -1199,7 +1199,7 @@ define([
content: Messages.user_rename content: Messages.user_rename
}); });
} }
if (parsed && parsed.type && parsed.type !== 'settings') { if (parsed && (!parsed.type || parsed.type !== 'settings')) {
options.push({ options.push({
tag: 'a', tag: 'a',
attributes: {'class': 'settings'}, attributes: {'class': 'settings'},

Loading…
Cancel
Save