#9662 Added new user edit link and changed label

This commit is contained in:
Daniel Maya 2023-02-13 13:16:51 +01:00
parent 7d6ace0f98
commit f5044e5673
3 changed files with 10 additions and 8 deletions

View File

@ -75,15 +75,15 @@ if ($menuTypeClass === 'collapsed') {
echo '<div id="menu_tabs">';
// Tabs classic.
echo '<ul class="tabs_ul" style="'.$display_classic.'">';
echo '<li id="tab_display" class="tabs_li"><span>'.__('Display').'</span></a></li>';
echo '<li id="tab_display" class="tabs_li"><span>'.__('Operation').'</span></a></li>';
echo '<li id="tab_management" class="tabs_li"><span>'.__('Management').'</span></a></li>';
echo '</ul>';
echo '<div class="div_border_line" style="'.$display_classic.'"><div id="tab_line_1" class="border_line"></div><div id="tab_line_2" class="border_line"></div></div>';
// Tabs collapse.
echo '<div class="tabs_collapsed" style="'.$display_collapsed.'">';
echo '<div class="tabs_collapsed_container">';
echo '<div id="tab_collapsed_display" class="tabs_collapsed_div"><div class="tabs_collapsed_display"></div></div>';
echo '<div id="tab_collapsed_management" class="tabs_collapsed_div"><div class="tabs_collapsed_management"></div></div>';
echo '<div id="tab_collapsed_display" class="tabs_collapsed_div" title="'.__('Operation').'"><div class="tabs_collapsed_display"></div></div>';
echo '<div id="tab_collapsed_management" class="tabs_collapsed_div" title="'.__('Management').'"><div class="tabs_collapsed_management"></div></div>';
echo '</div></div>';
echo '</div>';

View File

@ -1735,12 +1735,12 @@ div.title_line {
#menu_tab_frame_view,
#menu_tab_frame_view_bc {
position: sticky;
top: 59px;
top: 60px;
z-index: 1000;
display: flex;
align-items: flex-end;
justify-content: space-between;
border-bottom: 4px solid #14524f;
border-bottom: 1px solid #14524f;
/* width: calc(100% + 3em); */
width: -webkit-fill-available;
width: -moz-fill-available;

View File

@ -594,10 +594,12 @@ $menu_operation['workspace']['id'] = 'oper-users';
// ANY user can view him/herself !
// Users.
$query_paramameters_user = '&edit_user=1&pure=0&id_user='.$config['id_user'];
$sub = [];
$sub['operation/users/user_edit']['text'] = __('Edit my user');
$sub['operation/users/user_edit']['id'] = 'Edit_my_user';
$sub['operation/users/user_edit']['refr'] = 0;
$sub['godmode/users/configure_user'.$query_paramameters_user]['text'] = __('Edit my user');
$sub['godmode/users/configure_user'.$query_paramameters_user]['id'] = 'Edit_my_user';
$sub['godmode/users/configure_user'.$query_paramameters_user]['refr'] = 0;
// Users.
$sub['operation/users/user_edit_notifications']['text'] = __('Configure user notifications');