Skill: Add additional message when finished assigning a skill - refs BT#18904

pull/3924/head
Angel Fernando Quiroz Campos 4 years ago
parent 0d1e155f55
commit c3c8404d50
  1. 11
      public/main/badge/assign.php

@ -352,6 +352,17 @@ if ($form->validate()) {
) )
); );
Display::addFlash(
Display::return_message(
sprintf(
get_lang('To assign a new skill to this user, click <a href="%s">here</a>'),
api_get_self().'?'.http_build_query(['user' => $user->getId()])
),
'info',
false
)
);
header('Location: '.api_get_path(WEB_PATH)."badge/{$skillUser->getId()}"); header('Location: '.api_get_path(WEB_PATH)."badge/{$skillUser->getId()}");
exit; exit;
} }

Loading…
Cancel
Save