QA fixes
[civicrm-core.git] / templates / CRM / ACL / Form / EntityRole.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10{* this template is used for adding/editing ACL EntityRole objects *}
11<div class="crm-block crm-form-block crm-acl-entityrole-form-block">
12<fieldset><legend>{if $action eq 1}{ts}Assign ACL Role{/ts}{elseif $action eq 2}{ts}Assign ACL Role{/ts}{else}{ts}Delete ACL Role Assignment{/ts}{/if}</legend>
13 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
14{if $action eq 8}
15 <div class="messages status no-popup">
34d6cec4 16 {icon icon="fa-info-circle"}{/icon}
6a488035
TO
17 {ts}WARNING: Deleting this option will remove this ACL Role Assignment.{/ts} {ts}Do you want to continue?{/ts}
18 </div>
19{else}
20 <table class="form-layout-compressed">
21 <tr class="crm-acl-entityrole-form-block-acl_role_id">
22 <td class="label">{$form.acl_role_id.label}</td>
23 <td>{$form.acl_role_id.html}<br />
24 <span class="description">{ts}Select an ACL Role to assign.{/ts}</span>
25 </td>
26 </tr>
27 <tr class="crm-acl-entityrole-form-block-entity_id">
28 <td class="label">{$form.entity_id.label}</td>
29 <td>{$form.entity_id.html}<br />
7132ac1f 30 <span class="description">{ts}Select a group of contacts who should have this role when logged in to your site. Groups must be assigned the 'Access Control' type (Contacts &raquo; Manage Groups &raquo; Settings) to be included in this list.{/ts}</span>
6a488035
TO
31 </td>
32 <tr class="crm-acl-entityrole-form-block-is_active">
33 <td class="label">{$form.is_active.label}</td>
34 <td>{$form.is_active.html}</td>
35 </tr>
36 </table>
37{/if}
38 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="botttom"}</div>
39</fieldset>
40</div>