Merge pull request #5401 from christianbeeznest/ofaj-21534

Internal: Fix overlap of username and label on skills assignment page - refs BT#21534
pull/5402/head
christianbeeznest 7 months ago committed by GitHub
commit 370d097c21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      public/main/skills/assign.php

@ -153,7 +153,7 @@ $currentUrl = api_get_self().'?user='.$userId.'&current='.$currentLevel;
$form = new FormValidator('assign_skill', 'POST', $currentUrl);
$form->addHeader(get_lang('Assign skill'));
$form->addText('user_name', get_lang('Username'), false);
$form->addText('user_name', '', false);
$levelName = get_lang('Skill');
if (!empty($skillLevels)) {
@ -359,7 +359,7 @@ if ($form->validate()) {
exit;
}
$form->setDefaults(['user_name' => UserManager::formatUserFullName($user, true)]);
$form->setDefaults(['user_name' => get_lang('Username').': '.UserManager::formatUserFullName($user, true)]);
$form->freeze(['user_name']);
if (api_is_drh()) {

Loading…
Cancel
Save