From 6365a08739424ec13d32b36d566ad0bbae093cd7 Mon Sep 17 00:00:00 2001 From: Eileen Date: Mon, 18 Nov 2013 11:28:23 +1300 Subject: [PATCH] CRM-12023 add 4* region markups to summary.tpl & adjust whitespace accordingly ---------------------------------------- * CRM-12023: Create regions on Summary.tpl for customisation of that screen http://issues.civicrm.org/jira/browse/CRM-12023 --- templates/CRM/Contact/Page/View/Summary.tpl | 134 +++++++++++--------- 1 file changed, 71 insertions(+), 63 deletions(-) diff --git a/templates/CRM/Contact/Page/View/Summary.tpl b/templates/CRM/Contact/Page/View/Summary.tpl index 8a46ae8886..c29488aac1 100644 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@ -158,84 +158,92 @@
-
-
- {include file="CRM/Contact/Page/Inline/ContactInfo.tpl"} + {crmRegion name="contact-basic-info-left"} +
+
+ {include file="CRM/Contact/Page/Inline/ContactInfo.tpl"} +
-
+ {/crmRegion}
- {if !empty($imageURL)} -
- {include file="CRM/Contact/Page/ContactImage.tpl"} -
- {/if} -
-
-
- -
{$contactTag}
+ {crmRegion name="contact-basic-info-right"} + {if !empty($imageURL)} +
+ {include file="CRM/Contact/Page/ContactImage.tpl"}
-
-
{ts}Contact Type{/ts}
-
- {if isset($contact_type_label)}{$contact_type_label}{/if} -
-
-
-
- {ts}CiviCRM ID{/ts}{if !empty($userRecordUrl)} / {ts}User ID{/ts}{/if} -
-
- {$contactId} - {if !empty($userRecordUrl)} - -  / {$userRecordId} - - {/if} + {/if} +
+
+
+ +
{$contactTag}
+
+
+
{ts}Contact Type{/ts}
+
+ {if isset($contact_type_label)}{$contact_type_label}{/if} +
+
+
+
+ {ts}CiviCRM ID{/ts}{if !empty($userRecordUrl)} / {ts}User ID{/ts}{/if} +
+
+ {$contactId} + {if !empty($userRecordUrl)} + +  / {$userRecordId} + + {/if} +
-
+ {/crmRegion}
-
- {if $showEmail} -
- {include file="CRM/Contact/Page/Inline/Email.tpl"} -
- {/if} - {if $showWebsite} -
- {include file="CRM/Contact/Page/Inline/Website.tpl"} -
- {/if} -
+ {crmRegion name="contact-details-left"} +
+ {if $showEmail} +
+ {include file="CRM/Contact/Page/Inline/Email.tpl"} +
+ {/if} + {if $showWebsite} +
+ {include file="CRM/Contact/Page/Inline/Website.tpl"} +
+ {/if} +
+ {/crmRegion}
-
- {if $showPhone} -
- {include file="CRM/Contact/Page/Inline/Phone.tpl"} -
- {/if} - {if $showIM} -
- {include file="CRM/Contact/Page/Inline/IM.tpl"} -
- {/if} - {if $showOpenID} -
- {include file="CRM/Contact/Page/Inline/OpenID.tpl"} -
- {/if} -
+ {crmRegion name="contact-details-right"} +
+ {if $showPhone} +
+ {include file="CRM/Contact/Page/Inline/Phone.tpl"} +
+ {/if} + {if $showIM} +
+ {include file="CRM/Contact/Page/Inline/IM.tpl"} +
+ {/if} + {if $showOpenID} +
+ {include file="CRM/Contact/Page/Inline/OpenID.tpl"} +
+ {/if} +
+ {/crmRegion}
-- 2.25.1