From 158eb2c148d05bb007c693f6718da28129973483 Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Thu, 6 Jun 2019 15:57:35 +0100 Subject: [PATCH] Whitespace formatting in CRM/Group/Form/Edit.tpl --- templates/CRM/Group/Form/Edit.tpl | 142 +++++++++++++++--------------- 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/templates/CRM/Group/Form/Edit.tpl b/templates/CRM/Group/Form/Edit.tpl index dd8505d4e2..dd516783fb 100644 --- a/templates/CRM/Group/Form/Edit.tpl +++ b/templates/CRM/Group/Form/Edit.tpl @@ -25,103 +25,103 @@ *} {* this template is used for adding/editing group (name and description only) *}
-
- {if $action eq 2} +
+ {if $action eq 2} {capture assign=crmURL}class="no-popup" href="{crmURL p="civicrm/group/search" q="reset=1&force=1&context=smog&gid=`$group.id`"}"{/capture} {ts 1=$crmURL}You can edit the Name and Description for this group here. Click Contacts in this Group to view, add or remove contacts in this group.{/ts} - {else} + {else} {ts}Enter a unique name and a description for your new group here. Then click 'Continue' to find contacts to add to your new group.{/ts} - {/if} -
-
{include file="CRM/common/formButtons.tpl" location="top"}
- - + {/if} + +
{include file="CRM/common/formButtons.tpl" location="top"}
+
+ - - + + - {if $group.created_by} - - - - - {/if} + {if $group.created_by} + + + + + {/if} - {if $group.modified_by} - - - - - {/if} + {if $group.modified_by} + + + + + {/if} - + - + {ts}Group description is displayed when groups are listed in Profiles and Mailing List Subscribe forms.{/ts} + + - {if $form.group_type} + {if $form.group_type} - - + + - {/if} + {/if} - + - + - - - - + + + + - - - - + + + + - + - -
{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_group' field='title' id=$group.id}{/if}{$form.title.html|crmAddClass:huge} - {if $group.saved_search_id} ({ts}Smart Group{/ts}){/if} -
{$form.title.html|crmAddClass:huge} + {if $group.saved_search_id} ({ts}Smart Group{/ts}){/if} +
{ts}Created By{/ts}{$group.created_by}
{ts}Created By{/ts}{$group.created_by}
{ts}Modified By{/ts}{$group.modified_by}
{ts}Modified By{/ts}{$group.modified_by}
{$form.description.label} {$form.description.html}
- {ts}Group description is displayed when groups are listed in Profiles and Mailing List Subscribe forms.{/ts} -
{$form.group_type.label}{$form.group_type.html} {help id="id-group-type" file="CRM/Group/Page/Group.hlp"}{$form.group_type.label}{$form.group_type.html} {help id="id-group-type" file="CRM/Group/Page/Group.hlp"}
{$form.visibility.label} {$form.visibility.html|crmAddClass:huge} {help id="id-group-visibility" file="CRM/Group/Page/Group.hlp"}
{$form.is_reserved.label}{$form.is_reserved.html} - {ts}If reserved, only users with 'administer reserved groups' permission can disable, delete, or change settings for this group. The reserved flag does NOT affect users ability to add or remove contacts from a group.{/ts} -
{$form.is_reserved.label}{$form.is_reserved.html} + {ts}If reserved, only users with 'administer reserved groups' permission can disable, delete, or change settings for this group. The reserved flag does NOT affect users ability to add or remove contacts from a group.{/ts} +
{$form.is_active.label}{$form.is_active.html}
{$form.is_active.label}{$form.is_active.html}
{include file="CRM/Custom/Form/CustomData.tpl"}
+ + {*CRM-14190*} {include file="CRM/Group/Form/GroupsCommon.tpl"} -
{include file="CRM/common/formButtons.tpl" location="bottom"}
- {if $action neq 1} - + {/if} -{literal} - -{/literal} + {literal} + + {/literal}
-- 2.25.1