LSaccessRightsMatrixView : Improve table readability

This commit is contained in:
Benjamin Renard 2019-10-24 17:44:34 +02:00
parent 4df855e0ab
commit a33e7b3192
5 changed files with 226 additions and 102 deletions

View file

@ -2,48 +2,111 @@
* Table
*/
#LSaccessRightsMatrixView table {
width: 100%;
border-collapse: collapse;
margin-top: 1em;
text-align: center;
border-collapse: collapse;
margin-top: 1em;
text-align: center;
}
#LSaccessRightsMatrixView table tr, #LSaccessRightsMatrixView table td {
transition: all 0.25s linear 0s;
transition: all 0.25s linear 0s;
}
#LSaccessRightsMatrixView table tr:hover {
background-color: #AAA;
#LSaccessRightsMatrixView table tbody tr:hover {
background-color: #AAA;
}
#LSaccessRightsMatrixView table thead th:first-of-type, #LSaccessRightsMatrixView table tbody th {
text-align: left;
text-align: left;
}
#LSaccessRightsMatrixView table tbody td, #LSaccessRightsMatrixView table thead th {
border-left: 1px dotted #ddd;
/*
* Table rotated header
*/
.table-header-rotated th.row-header{
width: auto;
border-top: 1px dotted #dddddd;
}
#LSaccessRightsMatrixView table thead th:first-of-type {
margin: none;
.table-header-rotated td{
width: 50px;
border-top: 1px dotted #dddddd;
border-left: 1px dotted #dddddd;
border-right: 1px dotted #dddddd;
vertical-align: middle;
text-align: center;
}
.table-header-rotated tr:last-of-type td, .table-header-rotated th.row-header:last-of-type {
border-left: 1px dotted #dddddd;
border-bottom: 1px dotted #dddddd;
}
.table-header-rotated th.rotate-45{
height: 150px;
width: 50px;
min-width: 50px;
max-width: 50px;
position: relative;
vertical-align: bottom;
padding: 0;
font-size: 11px;
line-height: 0.8;
white-space: nowrap;
}
.table-header-rotated th.rotate-45 > div{
position: relative;
top: 0px;
left: 75px; /* 150 * tan(45) / 2 = 50 where 150 is the height on the cell and 45 is the transform angle*/
height: 100%;
-ms-transform:skew(-45deg,0deg);
-moz-transform:skew(-45deg,0deg);
-webkit-transform:skew(-45deg,0deg);
-o-transform:skew(-45deg,0deg);
transform:skew(-45deg,0deg);
overflow: hidden;
border-left: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-top: 1px solid #dddddd;
}
.table-header-rotated th.rotate-45 span {
-ms-transform:skew(45deg,0deg) rotate(315deg);
-moz-transform:skew(45deg,0deg) rotate(315deg);
-webkit-transform:skew(45deg,0deg) rotate(315deg);
-o-transform:skew(45deg,0deg) rotate(315deg);
transform:skew(45deg,0deg) rotate(315deg);
position: absolute;
bottom: 30px; /* 50 cos(45) = 28 with an additional 2px margin*/
left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
display: inline-block;
// width: 100%;
width: 85px; /* 150 / cos(45) - 50 cos (45) = 85 where 150 is the height of the cell, 50 the width of the cell and 45 the transform angle*/
text-align: left;
// white-space: nowrap; /*whether to display in one line or not*/
}
/*
* Readable/Writable tips
*/
span.LSaccessRightsMatrixView_readable, span.LSaccessRightsMatrixView_writable {
color: #fff;
border: 1px solid;
border-radius: 0.3em;
display: inline-block;
padding: 0.1em;
color: #fff;
border: 1px solid;
border-radius: 0.3em;
display: inline-block;
padding: 0.1em;
width: 2.2em;
text-align: center;
}
span.LSaccessRightsMatrixView_readable {
background-color: #17a2b8;
border-color: #17a2b8;
background-color: #17a2b8;
border-color: #17a2b8;
}
span.LSaccessRightsMatrixView_writable {
background-color: #ffc107;
border-color: #ffc107;
background-color: #ffc107;
border-color: #ffc107;
}
/*
@ -86,3 +149,12 @@ div.LSaccessRightsMatrixView_tab_content {
div.LSaccessRightsMatrixView_tab_content h2 {
margin: 0;
}
/*
* Legend
*/
#LSaccessRightsMatrixView_legend {
padding-top: 1em;
font-style: italic;
font-weight: normal;
}

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: LdapSaisie\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2019-10-14 12:33+0200\n"
"PO-Revision-Date: 2019-10-24 17:31+0200\n"
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
"Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise."
"org>\n"
@ -88,7 +88,7 @@ msgstr "Réinitialiser"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1235
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2319
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2323
msgid "Level"
msgstr "Niveau"
@ -938,11 +938,11 @@ msgstr "Langue"
msgid "Connected as"
msgstr "Connecté en tant que"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2466
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2470
msgid "LSsession : The constant %{const} is not defined."
msgstr "LSsession : La constante %{const} n'est pas définie."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2469
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2473
msgid ""
"LSsession : The %{addon} support is uncertain. Verify system compatibility "
"and the add-on configuration."
@ -950,52 +950,52 @@ msgstr ""
"LSsession : Le support %{addon} est incertain. Vérifiez la compatibilité du "
"système et la configuration de l'add-on."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2472
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2476
msgid ""
"LSsession : LDAP server's configuration data are invalid. Can't connect."
msgstr ""
"LSsession : Les données de configuration du serveur LDAP sont invalide. "
"Impossible de s'y connecter."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2475
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2479
msgid "LSsession : Failed to load LSobject type %{type} : unknon type."
msgstr ""
"LSsession : Impossible de charger le type d'LSobject %{type} : type inconnu."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2478
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2482
msgid "LSsession : Failed to load LSclass %{class}."
msgstr "LSsession : Impossible de charger la LSclass %{class}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2481
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2485
msgid "LSsession : Login or password incorrect."
msgstr "LSsession : Identifiant ou mot de passe incorrects."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2484
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2488
msgid "LSsession : Impossible to identify you : Duplication of identities."
msgstr "LSsession : Impossible de vous identifier : Duplication d'identité."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2487
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2491
msgid "LSsession : Can't load class of authentification (%{class})."
msgstr ""
"LSsession : Impossible de charger la classe d'authentification (%{class})."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2490
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2494
msgid "LSsession : Can't connect to LDAP server."
msgstr "LSsession : Impossible de se connecter au serveur LDAP."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2493
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2497
msgid "LSsession : Impossible to authenticate you."
msgstr "LSsession : Impossible de vous identifier."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2496
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2500
msgid "LSsession : Your are not authorized to do this action."
msgstr "LSsession : Vous n'êtes pas autorisé à faire cette action."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2499
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2503
msgid "LSsession : Some informations are missing to display this page."
msgstr "LSsession : Des informations sont manquant pour afficher cette page."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2502
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2506
msgid ""
"LSsession : The function of the custom action %{name} does not exists or is "
"not configured."
@ -1003,24 +1003,24 @@ msgstr ""
"LSsearch : La fonction de l'action personnalisée %{name} n'existe pas ou "
"n'est pas configurée."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2505
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2509
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth."
msgstr ""
"LSsession : Erreur en récupérant les identifiants LDAP de l'utilisateur "
"depuis LSauth."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2508
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2512
msgid ""
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
msgstr ""
"LSsession : Impossible de se reconnecter au serveur LDAP avec les "
"identifiants de l'utilisateur."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2511
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2515
msgid "LSsession : No import/export format define for this object type."
msgstr "LSsession : Aucun format d'entrée/sortie définie pour ce type d'objet."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2514
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2518
msgid ""
"LSsession : Error during creation of list of levels. Contact administrators. "
"(Code : %{code})"
@ -1028,13 +1028,13 @@ msgstr ""
"LSsession : Erreur durant la création de la liste des niveaux. Contacter les "
"administrateurs. (Code : %{type})"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2517
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2521
msgid "LSsession : The password recovery is disabled for this LDAP server."
msgstr ""
"LSsession : La récupération de mot de passe est désactivée pour ce serveur "
"LDAP."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2520
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2524
msgid ""
"LSsession : Some informations are missing to recover your password. Contact "
"administrators."
@ -1042,7 +1042,7 @@ msgstr ""
"LSsession : Des informations sont manques pour pouvoir récupérer votre mot "
"de passe. Contacter les administrateurs."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2523
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2527
msgid ""
"LSsession : Error during password recovery. Contact administrators.(Step : "
"%{step})"
@ -1050,22 +1050,22 @@ msgstr ""
"LSsession : Erreur durant la récupération de votre mot de passe. Contacter "
"les administrateurs. (Etape : %{step})"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2526
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2530
msgid ""
"LSsession : call function %{func} do not provided from LSaddon %{addon}."
msgstr ""
"LSsession : la fonction %{func} n'est pas fournie par le LSaddon %{addon}."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2529
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2533
msgid "LSsession : problem during initialisation."
msgstr "LSsession : Problème durant l'initialisation."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2532
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2536
msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist."
msgstr ""
"LSsession : la fonction de vue %{func} du LSaddon %{addon} n'existe pas."
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2535
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2539
msgid "LSsession : invalid related object's DN pass in parameter."
msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres."
@ -2068,7 +2068,7 @@ msgstr ""
"Une erreur irrécupérable est survenue. Si le problème persiste, merci de "
"contacter le support."
#: templates/default/LSaccessRightsMatrixView.tpl:15
#: templates/default/LSaccessRightsMatrixView.tpl:17
msgid "Attributes / Profiles"
msgstr "Attributs / Profils"
@ -2093,6 +2093,11 @@ msgstr "Recherche globale"
msgid "Imported objects"
msgstr "Objets importés"
#: templates/default/LSaccessRightsMatrixView.tpl:19
#: templates/default/LSaccessRightsMatrixView.tpl:55
msgid "Legend:"
msgstr "Légende :"
#: templates/default/viewSearch.tpl:120
msgid "Nb / page :"
msgstr "Nb / page :"
@ -2109,13 +2114,25 @@ msgstr "Aucune valeur"
msgid "Only validate data"
msgstr "Validation des données uniquement"
#: templates/default/LSaccessRightsMatrixView.tpl:27
#: templates/default/LSaccessRightsMatrixView.tpl:54
#: templates/default/LSaccessRightsMatrixView.tpl:20
#: templates/default/LSaccessRightsMatrixView.tpl:37
#: templates/default/LSaccessRightsMatrixView.tpl:72
msgid "R"
msgstr "L"
#: templates/default/LSaccessRightsMatrixView.tpl:22
#: templates/default/LSaccessRightsMatrixView.tpl:39
#: templates/default/LSaccessRightsMatrixView.tpl:74
msgid "R/W"
msgstr "L/É"
#: templates/default/LSaccessRightsMatrixView.tpl:20
#: templates/default/LSaccessRightsMatrixView.tpl:56
msgid "Readable"
msgstr "Lecture"
#: templates/default/LSaccessRightsMatrixView.tpl:29
#: templates/default/LSaccessRightsMatrixView.tpl:56
#: templates/default/LSaccessRightsMatrixView.tpl:22
#: templates/default/LSaccessRightsMatrixView.tpl:58
msgid "Readable / Writable"
msgstr "Lecture / Écriture"
@ -2123,7 +2140,7 @@ msgstr "Lecture / Écriture"
msgid "Refresh my access rights"
msgstr "Rafraîchir mes droits d'accès"
#: templates/default/LSaccessRightsMatrixView.tpl:42
#: templates/default/LSaccessRightsMatrixView.tpl:53
msgid "Relations / Profiles"
msgstr "Relations / Profils"
@ -2131,11 +2148,11 @@ msgstr "Relations / Profils"
msgid "Result"
msgstr "Résultat"
#: templates/default/LSaccessRightsMatrixView.tpl:38
#: templates/default/LSaccessRightsMatrixView.tpl:48
msgid "Their relations with other objects"
msgstr "Leurs relations avec les autres objets"
#: templates/default/LSaccessRightsMatrixView.tpl:65
#: templates/default/LSaccessRightsMatrixView.tpl:83
msgid "This object type has no configured relation."
msgstr "Ce type d'objet n'a aucune relation de configurée."

View file

@ -66,7 +66,7 @@ msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1235
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2319
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2323
msgid "Level"
msgstr ""
@ -801,112 +801,112 @@ msgstr ""
msgid "Connected as"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2466
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2470
msgid "LSsession : The constant %{const} is not defined."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2469
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2473
msgid ""
"LSsession : The %{addon} support is uncertain. Verify system compatibility "
"and the add-on configuration."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2472
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2476
msgid ""
"LSsession : LDAP server's configuration data are invalid. Can't connect."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2475
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2479
msgid "LSsession : Failed to load LSobject type %{type} : unknon type."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2478
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2482
msgid "LSsession : Failed to load LSclass %{class}."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2481
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2485
msgid "LSsession : Login or password incorrect."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2484
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2488
msgid "LSsession : Impossible to identify you : Duplication of identities."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2487
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2491
msgid "LSsession : Can't load class of authentification (%{class})."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2490
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2494
msgid "LSsession : Can't connect to LDAP server."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2493
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2497
msgid "LSsession : Impossible to authenticate you."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2496
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2500
msgid "LSsession : Your are not authorized to do this action."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2499
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2503
msgid "LSsession : Some informations are missing to display this page."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2502
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2506
msgid ""
"LSsession : The function of the custom action %{name} does not exists or is "
"not configured."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2505
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2509
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2508
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2512
msgid ""
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2511
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2515
msgid "LSsession : No import/export format define for this object type."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2514
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2518
msgid ""
"LSsession : Error during creation of list of levels. Contact administrators. "
"(Code : %{code})"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2517
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2521
msgid "LSsession : The password recovery is disabled for this LDAP server."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2520
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2524
msgid ""
"LSsession : Some informations are missing to recover your password. Contact "
"administrators."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2523
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2527
msgid ""
"LSsession : Error during password recovery. Contact administrators.(Step : "
"%{step})"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2526
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2530
msgid ""
"LSsession : call function %{func} do not provided from LSaddon %{addon}."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2529
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2533
msgid "LSsession : problem during initialisation."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2532
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2536
msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist."
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2535
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2539
msgid "LSsession : invalid related object's DN pass in parameter."
msgstr ""
@ -1765,7 +1765,7 @@ msgstr ""
msgid "A fatal error occured. If problem persist, please contact support."
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:15
#: templates/default/LSaccessRightsMatrixView.tpl:17
msgid "Attributes / Profiles"
msgstr ""
@ -1790,6 +1790,11 @@ msgstr ""
msgid "Imported objects"
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:19
#: templates/default/LSaccessRightsMatrixView.tpl:55
msgid "Legend:"
msgstr ""
#: templates/default/viewSearch.tpl:120
msgid "Nb / page :"
msgstr ""
@ -1806,13 +1811,25 @@ msgstr ""
msgid "Only validate data"
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:27
#: templates/default/LSaccessRightsMatrixView.tpl:54
#: templates/default/LSaccessRightsMatrixView.tpl:20
#: templates/default/LSaccessRightsMatrixView.tpl:37
#: templates/default/LSaccessRightsMatrixView.tpl:72
msgid "R"
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:22
#: templates/default/LSaccessRightsMatrixView.tpl:39
#: templates/default/LSaccessRightsMatrixView.tpl:74
msgid "R/W"
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:20
#: templates/default/LSaccessRightsMatrixView.tpl:56
msgid "Readable"
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:29
#: templates/default/LSaccessRightsMatrixView.tpl:56
#: templates/default/LSaccessRightsMatrixView.tpl:22
#: templates/default/LSaccessRightsMatrixView.tpl:58
msgid "Readable / Writable"
msgstr ""
@ -1820,7 +1837,7 @@ msgstr ""
msgid "Refresh my access rights"
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:42
#: templates/default/LSaccessRightsMatrixView.tpl:53
msgid "Relations / Profiles"
msgstr ""
@ -1828,11 +1845,11 @@ msgstr ""
msgid "Result"
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:38
#: templates/default/LSaccessRightsMatrixView.tpl:48
msgid "Their relations with other objects"
msgstr ""
#: templates/default/LSaccessRightsMatrixView.tpl:65
#: templates/default/LSaccessRightsMatrixView.tpl:83
msgid "This object type has no configured relation."
msgstr ""

View file

@ -10,23 +10,33 @@
<div class='LSaccessRightsMatrixView_tab_content'>
<h2>{$LSobjects[$LSobject]['label']}</h2>
<table>
<table class="table-header-rotated">
<thead>
<th>{tr msg="Attributes / Profiles"}</th>
{foreach $LSprofiles as $name => $label}
<th>{$label} {if $name != $label}<img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/>{/if}</th>
{/foreach}
<tr>
<th>
{tr msg="Attributes / Profiles"}
<div id="LSaccessRightsMatrixView_legend">
<label>{tr msg="Legend:"}</label>
<span class='LSaccessRightsMatrixView_readable'>{tr msg="R"}</span> = {tr msg="Readable"}
|
<span class='LSaccessRightsMatrixView_writable'>{tr msg="R/W"}</span> = {tr msg="Readable / Writable"}
</div>
</th>
{foreach $LSprofiles as $name => $label}
<th class="rotate-45"><div><span>{if $name != $label}<img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/>{/if} {$label}</span></div></th>
{/foreach}
</tr>
</thead>
<tbody>
{foreach $LSobjects[$LSobject]['attrs'] as $name => $conf}
<tr>
<th>{$conf.label} <img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/></th>
<th class="row-header">{$conf.label} <img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/></th>
{foreach $LSprofiles as $profil => $profil_label}
<td class='LStips' title="{if $profil != $profil_label}{$profil_label} ({$profil}){else}{$profil}{/if}">
{if $conf.rights[$profil] == 'r'}
<span class='LSaccessRightsMatrixView_readable'>{tr msg="Readable"}</span>
<span class='LSaccessRightsMatrixView_readable'>{tr msg="R"}</span>
{elseif $conf.rights[$profil] == 'w'}
<span class='LSaccessRightsMatrixView_writable'>{tr msg="Readable / Writable"}</span>
<span class='LSaccessRightsMatrixView_writable'>{tr msg="R/W"}</span>
{/if}
</td>
{/foreach}
@ -37,23 +47,31 @@
<h3>{tr msg="Their relations with other objects"}</h3>
{if !empty($LSobjects[$LSobject]['relations'])}
<table>
<table class="table-header-rotated">
<thead>
<th>{tr msg="Relations / Profiles"}</th>
<th>
{tr msg="Relations / Profiles"}
<div id="LSaccessRightsMatrixView_legend">
<label>{tr msg="Legend:"}</label>
<span class='LSaccessRightsMatrixView_readable'>R</span> = {tr msg="Readable"}
|
<span class='LSaccessRightsMatrixView_writable'>R/W</span> = {tr msg="Readable / Writable"}
</div>
</th>
{foreach $LSprofiles as $name => $label}
<th>{$label} {if $name != $label}<img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/>{/if}</th>
<th class="rotate-45"><div><span>{if $name != $label}<img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/>{/if} {$label}</span></div></th>
{/foreach}
</thead>
<tbody>
{foreach $LSobjects[$LSobject]['relations'] as $name => $conf}
<tr>
<th>{$conf.label} <img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/></th>
<th class="row-header">{$conf.label} <img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/></th>
{foreach $LSprofiles as $profil => $profil_label}
<td class='LStips' title="{if $profil != $profil_label}{$profil_label} ({$profil}){else}{$profil}{/if}">
{if $conf.rights[$profil] == 'r'}
<span class='LSaccessRightsMatrixView_readable'>{tr msg="Readable"}</span>
<span class='LSaccessRightsMatrixView_readable'>{tr msg="R"}</span>
{elseif $conf.rights[$profil] == 'w'}
<span class='LSaccessRightsMatrixView_writable'>{tr msg="Readable / Writable"}</span>
<span class='LSaccessRightsMatrixView_writable'>{tr msg="R/W"}</span>
{/if}
</td>
{/foreach}