{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'configuration'} {/block} {block name="page-title"}{intl l='Administration profiles'}{/block} {block name="check-resource"}admin.configuration.profile{/block} {block name="check-access"}view{/block} {block name="main-content"}
{intl l="Code"} | {intl l="Name"} | {intl l="Description"} | {hook name="profile.table-header"}{intl l="Actions"} |
---|---|---|---|
{if $can_change} {$CODE} {else} {$CODE} {/if} | {if $can_change} {$TITLE} {else} {$TITLE} {/if} | {$DESCRIPTION} | {hook name="profile.table-row" profile_id=$ID}{$buttons = []} {if $can_change} {$buttons[] = [ 'type' => 'edit', 'title' => {intl l='Change this profile'}, 'href' => {url path="/admin/configuration/profiles/update/%id" id=$ID}, 'auth' => ['resource' => 'admin.configuration.profile'] ]} {/if} {assign linkedAdminCount {count name="linked-admin" type="admin" profile=$ID}} {if $linkedAdminCount > 0}{$href = "#profile_cannot_delete_dialog"}{else}{$href="#profile_delete_dialog"}{/if} {$buttons[] = [ 'type' => 'delete', 'class' => 'js-delete-profile', 'title' => {intl l='Delete this profile'}, 'href' => $href, 'data' => [ 'id' => $ID, 'toggle' => 'modal' ], 'auth' => ['resource' => 'admin.configuration.profile'] ]} {include file='renderer/buttons.html' buttons=$buttons} |
{intl l="No administration profile defined yet. Click the + button to create one."}
|