From: Mukesh Ram Date: Sat, 10 Mar 2018 11:02:03 +0000 (+0530) Subject: Fix template structure X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=878813ba957df5934e166e44e42f89001ff30291;p=civicrm-core.git Fix template structure --- diff --git a/templates/CRM/Grant/Form/Grant.tpl b/templates/CRM/Grant/Form/Grant.tpl index 93be0e067c..80c69246ca 100644 --- a/templates/CRM/Grant/Form/Grant.tpl +++ b/templates/CRM/Grant/Form/Grant.tpl @@ -34,7 +34,7 @@ {else}
{include file="CRM/common/formButtons.tpl" location="top"}
- +
{if $context eq 'standalone'} diff --git a/templates/CRM/Grant/Form/Task/Delete.tpl b/templates/CRM/Grant/Form/Task/Delete.tpl index bdbf75eb3c..aeba8ee708 100644 --- a/templates/CRM/Grant/Form/Task/Delete.tpl +++ b/templates/CRM/Grant/Form/Task/Delete.tpl @@ -24,9 +24,11 @@ +--------------------------------------------------------------------+ *} {* Confirmation of Grant delete *} -
-

  - {ts}Are you sure you want to delete the selected Grants? This delete operation cannot be undone and will delete all transactions associated with these grants.{/ts}

-

{include file="CRM/Grant/Form/Task.tpl"}

+
+
+
  + {ts}Are you sure you want to delete the selected Grants? This delete operation cannot be undone and will delete all transactions associated with these grants.{/ts} +

{include file="CRM/Grant/Form/Task.tpl"}

+
+
{include file="CRM/common/formButtons.tpl"}
-
{include file="CRM/common/formButtons.tpl"}
diff --git a/templates/CRM/Profile/Page/Overlay.tpl b/templates/CRM/Profile/Page/Overlay.tpl index db93e34abc..ab5718ff07 100644 --- a/templates/CRM/Profile/Page/Overlay.tpl +++ b/templates/CRM/Profile/Page/Overlay.tpl @@ -25,31 +25,36 @@ *} {if $overlayProfile }
{$form.contact_id.label}
- - + + + + + + +
{$displayName}
-{assign var="count" value="0"} -{assign var="totalRows" value=$row|@count} -
-{foreach from=$profileFields item=field key=rowName} - {if $count gt $totalRows/2} -
-
-
- {assign var="count" value="1"} - {/if} -
-
- {$field.label} -
-
- {$field.value} -
-
-
- {assign var="count" value=`$count+1`} -{/foreach} -
-
{$displayName}
+ {assign var="count" value="0"} + {assign var="totalRows" value=$row|@count} +
+ {foreach from=$profileFields item=field key=rowName} + {if $count gt $totalRows/2} +
+
+
+ {assign var="count" value="1"} + {/if} +
+
+ {$field.label} +
+
+ {$field.value} +
+
+
+ {assign var="count" value=`$count+1`} + {/foreach} +
+
{* fields array is not empty *} {/if}