{*Smarty template*} {tr}Map process roles{/tr}

{tr}admin processes{/tr} {tr}admin activities{/tr} {tr}admin roles{/tr} {tr}edit this process{/tr}

{tr}Process:{/tr} {$proc_info.name} {$proc_info.version}
process graph
{if count($errors) > 0}
Errors:
{section name=ix loop=$errors} {$errors[ix]}
{/section}
{/if} {if count($roles) > 0}

{tr}Map users to roles{/tr}

{tr}Map{/tr}
{tr}Users{/tr}: {tr}Roles{/tr}:
 
{else}

{tr}Warning{/tr}

{tr}No roles are defined yet so no roles can be mapped{/tr}
{/if}

{tr}List of mappings{/tr}

{tr}Find{/tr}:
{cycle values="odd,even" print=false} {section name=ix loop=$items} {sectionelse} {/section}
{tr}Role{/tr} {tr}User{/tr}
{$items[ix].name} {$items[ix].user}
{tr}No mappings defined yet{/tr}
{if $prev_offset >= 0} [{tr}prev{/tr}]  {/if} {tr}Page{/tr}: {$actual_page}/{$cant_pages} {if $next_offset >= 0}  [{tr}next{/tr}] {/if} {if $direct_pagination eq 'y'}
{section loop=$cant_pages name=foo} {assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords} {$smarty.section.foo.index_next}  {/section} {/if}