diff --git a/templates/CRM/UF/Page/Group.tpl b/templates/CRM/UF/Page/Group.tpl index 727c429a2db0..4bfc276a7440 100644 --- a/templates/CRM/UF/Page/Group.tpl +++ b/templates/CRM/UF/Page/Group.tpl @@ -8,149 +8,146 @@ +--------------------------------------------------------------------+ *} {if $action eq 1 or $action eq 2 or $action eq 4 or $action eq 8 or $action eq 64 or $action eq 16384} - {* Add or edit Profile Group form *} - {include file="CRM/UF/Form/Group.tpl"} + {* Add or edit Profile Group form *} + {include file="CRM/UF/Form/Group.tpl"} {elseif $action eq 1024} - {* Preview Profile Group form *} - {include file="CRM/UF/Form/Preview.tpl"} + {* Preview Profile Group form *} + {include file="CRM/UF/Form/Preview.tpl"} {elseif $action eq 8192} - {* Display HTML Form Snippet Code *} -
- {ts}The HTML code below will display a form consisting of the active fields in this Profile. You can copy this HTML code and paste it into any block or page on your website where you want to collect contact information.{/ts} {help id='standalone'} -
-
-
+ {* Display HTML Form Snippet Code *} +
+ {ts}The HTML code below will display a form consisting of the active fields in this Profile. You can copy this HTML code and paste it into any block or page on your website where you want to collect contact information.{/ts} {help id='standalone'} +
+
+
- -
- {ts}Select HTML Code{/ts} + +
+ {ts}Select HTML Code{/ts}
-
+ {else} -
- {ts}CiviCRM Profile(s) allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features. They provide a powerful set of tools for you to collect information from constituents and selectively share contact information.{/ts} {help id='profile_overview'} -
+
+ {ts}CiviCRM Profile(s) allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features. They provide a powerful set of tools for you to collect information from constituents and selectively share contact information.{/ts} {help id='profile_overview'} +
-
+
{if NOT ($action eq 1 or $action eq 2)} - + {/if} {if $rows} -
+
{* handle enable/disable actions*} {include file="CRM/common/enableDisableApi.tpl"} {include file="CRM/common/jsortable.tpl"}
-
- - - - - - - - - - - - - - - {foreach from=$rows item=row} - {if !$row.is_reserved } - - - - - - - - - - - {/if} - {/foreach} - +
+
{ts}Profile Title{/ts}{ts}Public Title{/ts}{ts}Created By{/ts}{ts}Description{/ts}{ts}Type{/ts}{ts}ID{/ts}{ts}Used For{/ts}
{$row.title}{$row.frontend_title} - {if $row.created_id && $row.created_by} - {ts}{$row.created_by}{/ts} - {/if} - {$row.description|escape}{$row.group_type}{$row.id}{$row.module}{$row.action|replace:'xx':$row.id}
+ + + + + + + + + + + + + + {foreach from=$rows item=row} + {if !$row.is_reserved } + + + + + + + + + + + {/if} + {/foreach} +
{ts}Profile Title{/ts}{ts}Public Title{/ts}{ts}Created By{/ts}{ts}Description{/ts}{ts}Type{/ts}{ts}ID{/ts}{ts}Used For{/ts}
{$row.title}{$row.frontend_title} + {if $row.created_id && $row.created_by} + {ts}{$row.created_by}{/ts} + {/if} + {$row.description|escape}{$row.group_type}{$row.id}{$row.module}{$row.action|replace:'xx':$row.id}
{if NOT ($action eq 1 or $action eq 2)} - + {/if} -
+
{* user profile*}
-
+
- - - - - - - - - - - - - - {foreach from=$rows item=row} - {if $row.is_reserved} - - - - + + + + + + + + + + + + + {foreach from=$rows item=row} + {if $row.is_reserved} + + + + + + + + + + {/if} - - - - - - - - {/if} - {/foreach} - + {/foreach} +
{ts}Profile Title{/ts}{ts}Public Title{/ts}{ts}Created By{/ts}{ts}Description{/ts}{ts}Type{/ts}{ts}ID{/ts}{ts}Used For{/ts}
{$row.title}{$row.frontend_title} - {if $row.created_id && $row.created_by} - {ts}{$row.created_by}{/ts} +
{ts}Profile Title{/ts}{ts}Public Title{/ts}{ts}Created By{/ts}{ts}Description{/ts}{ts}Type{/ts}{ts}ID{/ts}{ts}Used For{/ts}
{$row.title}{$row.frontend_title} + {if $row.created_id && $row.created_by} + {ts}{$row.created_by}{/ts} + {/if} + {$row.description|escape}{$row.group_type}{$row.id}{$row.module}{$row.action|replace:'xx':$row.id}
{$row.description|escape}{$row.group_type}{$row.id}{$row.module}{$row.action|replace:'xx':$row.id}
{if NOT ($action eq 1 or $action eq 2)} - {/if} -
+
{* reserved profile*} - -
-{include file="CRM/common/TabHeader.tpl"} - +
+ {include file="CRM/common/TabHeader.tpl"} {else} - {if $action ne 1} {* When we are adding an item, we should not display this message *} -
- {icon icon="fa-info-circle"}{/icon} - {capture assign=crmURL}{crmURL p='civicrm/admin/uf/group/add' q='action=add&reset=1'}{/capture}{ts 1=$crmURL}No CiviCRM Profiles have been created yet. You can add one now.{/ts} -
- {/if} + {if $action ne 1} {* When we are adding an item, we should not display this message *} +
+ {icon icon="fa-info-circle"}{/icon} + {capture assign=crmURL}{crmURL p='civicrm/admin/uf/group/add' q='action=add&reset=1'}{/capture}{ts 1=$crmURL}No CiviCRM Profiles have been created yet. You can add one now.{/ts} +
+ {/if} {/if} {/if} -