From ec6cf48348b6099fd28e44d6aef55834a1692fd9 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 28 Feb 2014 22:02:54 -0500 Subject: [PATCH] CRM-14288 - Change th ids to prevent dom conflicts with date fields --- .../CRM/Contact/Page/View/Relationship.tpl | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/templates/CRM/Contact/Page/View/Relationship.tpl b/templates/CRM/Contact/Page/View/Relationship.tpl index 7ae47ea55a..68b58db466 100644 --- a/templates/CRM/Contact/Page/View/Relationship.tpl +++ b/templates/CRM/Contact/Page/View/Relationship.tpl @@ -50,8 +50,8 @@ {ts}Relationship{/ts} - {ts}Start{/ts} - {ts}End{/ts} + {ts}Start{/ts} + {ts}End{/ts} {ts}City{/ts} {ts}State/Prov{/ts} {ts}Email{/ts} @@ -62,13 +62,6 @@ {foreach from=$currentRelationships item=rel} - {*assign var = "rtype" value = "" } - {if $rel.contact_a eq $contactId } - {assign var = "rtype" value = "a_b" } - {else} - {assign var = "rtype" value = "b_a" } - {/if*} - {if $relationshipTabContext} @@ -98,8 +91,8 @@ {$rel.email} {$rel.phone} {$rel.action|replace:'xx':$rel.id} - {$rel.start_date|crmDate} - {$rel.end_date|crmDate} + {$rel.start_date|crmDate} + {$rel.end_date|crmDate} {/foreach} @@ -145,8 +138,8 @@ {ts}Relationship{/ts} - {ts}Start{/ts} - {ts}End{/ts} + {ts}Start{/ts} + {ts}End{/ts} {ts}City{/ts} {ts}State/Prov{/ts} {ts}Email{/ts} @@ -176,8 +169,8 @@ {$rel.email} {$rel.phone} {$rel.action|replace:'xx':$rel.id} - {$rel.start_date|crmDate} - {$rel.end_date|crmDate} + {$rel.start_date|crmDate} + {$rel.end_date|crmDate} {/foreach} -- 2.25.1