X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContact%2FPage%2FView%2FSummary.tpl;h=6146484d31113670ae823eb61f8fff3232da333b;hb=d6539f93195606970c50c80706a2789ce22e6494;hp=53733dea27f8fd3e855d16b5ee5809e5d355bb88;hpb=6340311ffde8285b896e31b8dabf34d44d04df83;p=civicrm-core.git diff --git a/templates/CRM/Contact/Page/View/Summary.tpl b/templates/CRM/Contact/Page/View/Summary.tpl index 53733dea27..6146484d31 100644 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@ -1,6 +1,6 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.3 | + | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ @@ -25,7 +25,7 @@ *} {* Contact Summary template for new tabbed interface. Replaces Basic.tpl *} {if $action eq 2} - {include file="CRM/Contact/Form/Contact.tpl"} + {include file="CRM/Contact/Form/Contact.tpl"} {else} {include file="CRM/common/wysiwyg.tpl" includeWysiwygEditor=true} @@ -35,11 +35,12 @@
- {include file="CRM/Contact/Page/Inline/ContactName.tpl"} + {include file="CRM/Contact/Page/Inline/ContactName.tpl"}
-
+ {if !$summaryPrint} +
-
+
+ {/if}
-
- +
+ -
- {if (isset($hookContentPlacement) and ($hookContentPlacement neq 3)) or empty($hookContentPlacement)} +
+ {if (isset($hookContentPlacement) and ($hookContentPlacement neq 3)) or empty($hookContentPlacement)} - {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 2} - {include file="CRM/Contact/Page/View/SummaryHook.tpl"} - {/if} + {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 2} + {include file="CRM/Contact/Page/View/SummaryHook.tpl"} + {/if} -
-
-
-
- {include file="CRM/Contact/Page/Inline/ContactInfo.tpl"} -
+
+
+ {crmRegion name="contact-basic-info-left"} +
+
+ {include file="CRM/Contact/Page/Inline/ContactInfo.tpl"} +
+
+ {/crmRegion} +
+
+ {crmRegion name="contact-basic-info-right"} + {if !empty($imageURL)} +
+ {include file="CRM/Contact/Page/ContactImage.tpl"} +
+ {/if} +
+
+ -
- {if !empty($imageURL)} -
- {include file="CRM/Contact/Page/ContactImage.tpl"} +
{$contactTag}
+
+
+
{ts}Contact Type{/ts}
+
+ {if isset($contact_type_label)}{$contact_type_label}{/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} -
-
-
+
+
+
+ {ts}CiviCRM ID{/ts}{if !empty($userRecordUrl)} / {ts}User ID{/ts}{/if}
- -
-
-
-
-
-
- {if $showEmail} -
- {include file="CRM/Contact/Page/Inline/Email.tpl"} -
- {/if} - {if $showWebsite} -
- {include file="CRM/Contact/Page/Inline/Website.tpl"} -
- {/if} -
-
- -
-
- {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} -
-
- -
-
- {if $showAddress} -
- {assign var='locationIndex' value=1} - {if $address} - {foreach from=$address item=add key=locationIndex} -
- {include file="CRM/Contact/Page/Inline/Address.tpl"} -
- {/foreach} - {assign var='locationIndex' value=$locationIndex+1} +
+ {$contactId} + {if !empty($userRecordUrl)} + +  / {$userRecordId} + {/if} - {* add new link *} - {if $permission EQ 'edit'} - {assign var='add' value=0} -
- {include file="CRM/Contact/Page/Inline/Address.tpl"} -
- {/if} - -
- {/if} -
- {if $showCommunicationPreferences} -
-
-
- {include file="CRM/Contact/Page/Inline/CommunicationPreferences.tpl"} -
-
-
- {/if} - {if $contact_type eq 'Individual' AND $showDemographics} -
-
-
- {include file="CRM/Contact/Page/Inline/Demographics.tpl"} -
-
-
- {/if} -
-
-
-
+
+
+
+
{ts}External ID{/ts}
+
+ {if isset($external_identifier)}{$external_identifier}{/if} +
+
+
+
+ {/crmRegion} +
+ +
+
+
+
+ {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 $showCustomData} -
-
-
- {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1'} -
+
+ {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} +
-
- {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0'} -
+
+
+ {if $showAddress} +
+ {assign var='locationIndex' value=1} + {if $address} + {foreach from=$address item=add key=locationIndex} +
+ {include file="CRM/Contact/Page/Inline/Address.tpl"} +
+ {/foreach} + {assign var='locationIndex' value=$locationIndex+1} + {/if} + {* add new link *} + {if $permission EQ 'edit'} + {assign var='add' value=0} +
+ {include file="CRM/Contact/Page/Inline/Address.tpl"} +
+ {/if} -
+
+ {/if} +
+ {if $showCommunicationPreferences} +
+
+
+ {include file="CRM/Contact/Page/Inline/CommunicationPreferences.tpl"}
- {/if} +
+ {/if} + {if $contact_type eq 'Individual' AND $showDemographics} +
+
+
+ {include file="CRM/Contact/Page/Inline/Demographics.tpl"} +
+
+
+ {/if} +
+
+
+
+ + {if $showCustomData} +
+
+
+ {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1'} +
+
+ {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0'} +
- {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 1} - {include file="CRM/Contact/Page/View/SummaryHook.tpl"} - {/if} - {else} - {include file="CRM/Contact/Page/View/SummaryHook.tpl"} - {/if} +
+
+
+ {/if} + + {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 1} + {include file="CRM/Contact/Page/View/SummaryHook.tpl"} + {/if} + {else} + {include file="CRM/Contact/Page/View/SummaryHook.tpl"} + {/if}
-
+
- - {/if} {* CRM-10560 *} {literal}