issue #1430 add description for each user status

Enlarge and give more space to describe user status in tipTip tooltip
This commit is contained in:
plegall
2021-08-03 15:46:02 +02:00
parent f56464d6d0
commit 9a840edf66
3 changed files with 37 additions and 5 deletions
+27 -5
View File
@@ -75,7 +75,7 @@ update_user_list();
update_selection_content();
$(".icon-help-circled").tipTip({
'maxWidth':'650px',
'maxWidth':'700px',
'fadeIn': '1000',
});
@@ -565,10 +565,13 @@ $(".icon-help-circled").tipTip({
<div class="user-property-status">
<p class="user-property-label">{'Status'|@translate}
<span class="icon-help-circled"
title="Status: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean tempor sodales ex non scelerisque. <br>
Status: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean tempor sodales ex non scelerisque. <br>
Status: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean tempor sodales ex non scelerisque. <br>
Status: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean tempor sodales ex non scelerisque. <br>">
title="<div class='tooltip-status-content'>
<div class='tooltip-status-row'><span class='tooltip-col1'>{'user_status_webmaster'|translate}</span><span class='tooltip-col2'>{'Has access to all administration functionnalities. Can manage both configuration and content.'|translate}</span></div>
<div class='tooltip-status-row'><span class='tooltip-col1'>{'user_status_admin'|translate}</span><span class='tooltip-col2'>{'Has access to administration. Can only manage content: photos/albums/users/tags/groups.'|translate}</span></div>
<div class='tooltip-status-row'><span class='tooltip-col1'>{'user_status_normal'|translate}</span><span class='tooltip-col2'>{'No access to administration, can see private content with appropriate permissions.'|translate}</span></div>
<div class='tooltip-status-row'><span class='tooltip-col1'>{'user_status_generic'|translate}</span><span class='tooltip-col2'>{'Can be shared by several individuals without conflict (they cannot change the password).'|translate}</span></div>
<div class='tooltip-status-row'><span class='tooltip-col1'>{'user_status_guest'|translate}</span><span class='tooltip-col2'>{'Equivalent to deactivation. The user is still in the list, but can no longer log in.'|translate}</span></div>
</div">
</span>
</p>
<div class="user-property-select-container">
@@ -2331,4 +2334,23 @@ Advanced filter
.selectable .user-container-select {
border: none;
}
.tooltip-status-content {
text-align:left;
font-size:14px;
}
.tooltip-status-row {
margin-top:10px;
margin-bottom: 20px;
padding: 0 10px;
}
.tooltip-col1 {
display:inline-block;
width:150px;
vertical-align: top;
}
.tooltip-col2 {
display:inline-block;
max-width:500px;
}
</style>
+5
View File
@@ -1234,3 +1234,8 @@ $lang['Filters'] = 'Filters';
$lang['Synchronization'] = 'Synchronization';
$lang['Activated plugin list'] = 'Activated plugin list';
$lang['No plugin activated'] = 'No plugin activated';
$lang['Has access to all administration functionnalities. Can manage both configuration and content.'] = 'Has access to all administration functionnalities. Can manage both configuration and content.';
$lang['Has access to administration. Can only manage content: photos/albums/users/tags/groups.'] = 'Has access to administration. Can only manage content: photos/albums/users/tags/groups.';
$lang['No access to administration, can see private content with appropriate permissions.'] = 'No access to administration, can see private content with appropriate permissions.';
$lang['Can be shared by several individuals without conflict (they cannot change the password).'] = 'Can be shared by several individuals without conflict (they cannot change the password).';
$lang['Equivalent to deactivation. The user is still in the list, but can no longer log in.'] = 'Equivalent to deactivation. The user is still in the list, but can no longer log in.';
+5
View File
@@ -1236,3 +1236,8 @@ $lang['Filters'] = 'Filtres';
$lang['Synchronization'] = 'Synchronisation';
$lang['Activated plugin list'] = 'Liste des plugins activés';
$lang['No plugin activated'] = 'Aucun plugin activé';
$lang['Has access to all administration functionnalities. Can manage both configuration and content.'] = 'Accède à toutes les fonctionnalités d\'administration, en contenu et en configuration.';
$lang['Has access to administration. Can only manage content: photos/albums/users/tags/groups.'] = 'Accède à l\'administration, mais uniquement sur le contenu : photos/albums/utilisateurs/tags/groupes.';
$lang['No access to administration, can see private content with appropriate permissions.'] = 'Pas d\'accès à l\'administration. Peut accéder au contenu privé s\'il en a les permissions.';
$lang['Can be shared by several individuals without conflict (they cannot change the password).'] = 'Partageable entre plusieurs personnes sans rentrer en conflit (mot de passe non modifiable).';
$lang['Equivalent to deactivation. The user is still in the list, but can no longer log in.'] = 'Équivalent à une désactivation. L\'utilisateur est toujours dans la liste mais ne peut plus se connecter.';