From 51180095b6f24aa516a127308e41204cdd83726c Mon Sep 17 00:00:00 2001 From: Mukesh Ram Date: Tue, 26 Dec 2017 15:04:27 +0530 Subject: [PATCH] CRM-21599-add-missing-structure-in-templates --- templates/CRM/Admin/Page/LocationType.tpl | 20 +++++++++++--------- templates/CRM/Event/Form/SearchEvent.tpl | 12 +++++++----- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/templates/CRM/Admin/Page/LocationType.tpl b/templates/CRM/Admin/Page/LocationType.tpl index 1f13afa293..c2d58ff333 100644 --- a/templates/CRM/Admin/Page/LocationType.tpl +++ b/templates/CRM/Admin/Page/LocationType.tpl @@ -30,6 +30,7 @@ {ts}Location types provide convenient labels to differentiate contacts' location(s). Administrators may define as many additional types as appropriate for your constituents (examples might be Main Office, School, Vacation Home...).{/ts} +
{if $rows}
{strip} @@ -38,15 +39,15 @@ {include file="CRM/common/jsortable.tpl"} - - - - - - - - - + + + + + + + + + {foreach from=$rows item=row} @@ -72,4 +73,5 @@ {crmButton q="action=add&reset=1" id="newLocationType" icon="plus-circle"}{ts}Add Option{/ts}{/crmButton} {crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton} + {/if} diff --git a/templates/CRM/Event/Form/SearchEvent.tpl b/templates/CRM/Event/Form/SearchEvent.tpl index 042e6f4d2b..7491d3b168 100644 --- a/templates/CRM/Event/Form/SearchEvent.tpl +++ b/templates/CRM/Event/Form/SearchEvent.tpl @@ -27,11 +27,13 @@

{ts}Find Events{/ts}

{ts}Name{/ts}{ts}Display Name{/ts}{ts}vCard{/ts}{ts}Description{/ts}{ts}Enabled?{/ts}{ts}Default?{/ts}
{ts}Name{/ts}{ts}Display Name{/ts}{ts}vCard{/ts}{ts}Description{/ts}{ts}Enabled?{/ts}{ts}Default?{/ts}
-
{$form.title.html|crmAddClass:twenty} -
- {ts}Complete OR partial Event name.{/ts} -
-
{$form.eventsByDates.html}
+
+ + {$form.title.html|crmAddClass:twenty} +
+ {ts}Complete OR partial Event name.{/ts} +
+
{$form.eventsByDates.html}
{$form.event_type_id.html} -- 2.25.1