From defc395022102eb34e7e7877e1d4c393c4239c1e Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 14 Oct 2019 13:23:33 +0200 Subject: [PATCH] LSaccessRightsMatrixView : improve tables readability --- .../templates/default/LSaccessRightsMatrixView.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public_html/templates/default/LSaccessRightsMatrixView.tpl b/public_html/templates/default/LSaccessRightsMatrixView.tpl index 2a08ea30..9ab96cdc 100644 --- a/public_html/templates/default/LSaccessRightsMatrixView.tpl +++ b/public_html/templates/default/LSaccessRightsMatrixView.tpl @@ -21,8 +21,8 @@ {foreach $LSobjects[$LSobject]['attrs'] as $name => $conf} {$conf.label} ? - {foreach $LSprofiles as $profil => $profil_conf} - + {foreach $LSprofiles as $profil => $profil_label} + {if $conf.rights[$profil] == 'r'} {tr msg="Readable"} {elseif $conf.rights[$profil] == 'w'} @@ -48,8 +48,8 @@ {foreach $LSobjects[$LSobject]['relations'] as $name => $conf} {$conf.label} ? - {foreach $LSprofiles as $profil => $profil_conf} - + {foreach $LSprofiles as $profil => $profil_label} + {if $conf.rights[$profil] == 'r'} {tr msg="Readable"} {elseif $conf.rights[$profil] == 'w'}