actions_overview.smarty
1.23 KB
<h2>Actions Overview</h2>
<p class="descriptiveText">In addition to restricting permissions, it is also
possible to block certain <strong>actions</strong> at any given point. Actions
which are not blocked are still controlled by the usual permissions.</p>
<p><a class="ktAction ktActionDescribed ktEdit" href="{addQS context=$context}action=editactions{/addQS}">Edit Actions</a>
<a href="{addQS context=$context}action=editactions{/addQS}">Edit Actions</a></p>
<table class="kt_collection narrow" cellspacing="0">
<thead>
<th>State</th>
{foreach from=$actions item=oAction}
<th>{$oAction->getDisplayName()}</th>
{/foreach}
</thead>
<tbody>
{foreach from=$states item=oState}
{assign value=$oState->getId() var=state_id}
<tr>
<td>{$oState->getName()}</td>
{foreach from=$actions item=oAction}
{assign value=$oAction->getName() var=action_id}
{if $grid.$state_id.$action_id}
<td class="centered"><span class="ktAction ktDenied">Denied</span></td>
{else}
<td class="centered">—</td>
{/if}
{/foreach}
</tr>
{/foreach}
</tbody>
</table>