This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Incam_SGD/templates/ktcore/action/view_roles.smarty

35 lines
1.4 KiB
Plaintext

<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}View Roles{/i18n}:<br />{$context->oDocument->getName()|sanitize}</h2>
<p class="descriptiveText">{i18n}
In many cases, workflow actions will be assigned to certain <strong>roles</strong>
(e.g. Manager, Interviewer, Researcher, Journalist). You can assign these roles
to specific groups in particular areas of the document management system.
{/i18n}</p>
<p class="descriptiveText">{i18n}
This page allows you to see the roles as they apply to this particular document.
{/i18n}</p>
<table class="listing">
<thead>
<tr>
<th>{i18n}Role{/i18n}</th>
<th>{i18n}Allocated users and groups{/i18n}</th>
</tr>
</thead>
<tbody>
{if (count($roles) > 0)}
{foreach item=aRole key=role_id from=$roles}
<tr class="{cycle values=odd,even}">
<td>{$aRole.name}</td>
<td>
{if ($aRole.users != null)}<strong>{i18n}Users{/i18n}:</strong> {$aRole.users}<br />{/if}
{if ($aRole.groups != null)}<strong>{i18n}Groups{/i18n}:</strong> {$aRole.groups}{/if}
</td>
</tr>
{/foreach}
{else}
<tr><td colspan="4" class="ktInfoMessage"><span>{i18n}No roles defined in the Role Administration area.{/i18n}</span></td></tr>
{/if}
</tbody>
</table>