From e06c650c613d5ccf82973b8440baa90e0289129c Mon Sep 17 00:00:00 2001 From: Mukesh Ram Date: Mon, 19 Mar 2018 12:46:52 +0530 Subject: [PATCH] Fix template structures --- templates/CRM/Activity/Selector/Selector.tpl | 4 ++-- templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl | 2 +- templates/CRM/Contribute/Form/Selector.tpl | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/CRM/Activity/Selector/Selector.tpl b/templates/CRM/Activity/Selector/Selector.tpl index a9a7c88399..6cc3b32be3 100644 --- a/templates/CRM/Activity/Selector/Selector.tpl +++ b/templates/CRM/Activity/Selector/Selector.tpl @@ -37,9 +37,9 @@ {$form.activity_type_exclude_filter_id.label}
{$form.activity_type_exclude_filter_id.html|crmAddClass:medium} - {include file="CRM/Core/DateRange.tpl" fieldName="activity_date" from='_low' to='_high' label='Date'} + {include file="CRM/Core/DateRange.tpl" fieldName="activity_date" from='_low' to='_high' label=''} - {ts}Status{/ts}
{$form.status_id.html|crmAddClass:medium} +
{$form.status_id.html|crmAddClass:medium} diff --git a/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl b/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl index dd726fc421..134528e776 100644 --- a/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl +++ b/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl @@ -45,7 +45,7 @@ {if $groupElementType eq 'select'}
- {if $title}{$form.group.label}{/if} + {if $title}{$form.group.label}
{/if} {$form.group.html}
{else} diff --git a/templates/CRM/Contribute/Form/Selector.tpl b/templates/CRM/Contribute/Form/Selector.tpl index 57b961e702..8f6be6cac3 100644 --- a/templates/CRM/Contribute/Form/Selector.tpl +++ b/templates/CRM/Contribute/Form/Selector.tpl @@ -32,6 +32,7 @@ {if !$single and $context eq 'Search' } {$form.toggleSelect.html} {/if} + {foreach from=$columnHeaders item=header} {if $header.sort} @@ -56,7 +57,8 @@ {assign var=cbName value=$row.checkbox} {$form.$cbName.html} {/if} - {$row.contact_type}   {$row.sort_name} + {$row.contact_type} + {$row.sort_name} {/if} {if !$row.contribution_soft_credit_amount} -- 2.25.1