mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-13 00:46:48 +02:00
closes #5761
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
"nodebb-plugin-spam-be-gone": "0.5.0",
|
||||
"nodebb-rewards-essentials": "0.0.9",
|
||||
"nodebb-theme-lavender": "4.0.1",
|
||||
"nodebb-theme-persona": "5.0.7",
|
||||
"nodebb-theme-persona": "5.0.8",
|
||||
"nodebb-theme-slick": "1.1.0",
|
||||
"nodebb-theme-vanilla": "6.0.6",
|
||||
"nodebb-widget-essentials": "3.0.0",
|
||||
|
||||
@@ -33,6 +33,8 @@ define('forum/account/edit/username', ['forum/account/header'], function (header
|
||||
var userslug = utils.slugify(userData.username);
|
||||
if (userData.username && userslug && parseInt(userData.uid, 10) === parseInt(app.user.uid, 10)) {
|
||||
$('[component="header/profilelink"]').attr('href', config.relative_path + '/user/' + userslug);
|
||||
$('[component="header/profilelink/edit"]').attr('href', config.relative_path + '/user/' + userslug + '/edit');
|
||||
$('[component="header/profilelink/settings"]').attr('href', config.relative_path + '/user/' + userslug + '/settings');
|
||||
$('[component="header/username"]').text(userData.username);
|
||||
$('[component="header/usericon"]').css('background-color', data['icon:bgColor']).text(data['icon:text']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user