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'}