LSaccessRightsMatrixView : add some LStips

This commit is contained in:
Benjamin Renard 2019-10-14 12:24:14 +02:00
parent 4b1c6a2acf
commit 90399ecdfb

View file

@ -14,13 +14,13 @@
<thead> <thead>
<th>{tr msg="Attributes / Profiles"}</th> <th>{tr msg="Attributes / Profiles"}</th>
{foreach $LSprofiles as $name => $label} {foreach $LSprofiles as $name => $label}
<th>{$label}</th> <th>{$label} {if $name != $label}<img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/>{/if}</th>
{/foreach} {/foreach}
</thead> </thead>
<tbody> <tbody>
{foreach $LSobjects[$LSobject]['attrs'] as $name => $conf} {foreach $LSobjects[$LSobject]['attrs'] as $name => $conf}
<tr> <tr>
<th>{$conf.label}</th> <th>{$conf.label} <img class='LStips' src="{img name='help'}" alt='?' title='{$name|escape:'htmlall'}'/></th>
{foreach $LSprofiles as $profil => $profil_conf} {foreach $LSprofiles as $profil => $profil_conf}
<td> <td>
{if $conf.rights[$profil] == 'r'} {if $conf.rights[$profil] == 'r'}