From 3cafa149671c4b70c6891a05442b9ccae3c1d7d8 Mon Sep 17 00:00:00 2001 From: Eileen Date: Thu, 2 Jan 2014 17:36:25 +1300 Subject: [PATCH] CRM-13257 whitespace -tabs to double space ---------------------------------------- * CRM-13257: Hard-coded relationship type for employer-employee relationship causing Current Employer checkbox to be hidden AND invalid sample data http://issues.civicrm.org/jira/browse/CRM-13257 --- templates/CRM/Contact/Form/Relationship.tpl | 4 ++-- templates/CRM/Contact/Page/View/Summary.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Contact/Form/Relationship.tpl b/templates/CRM/Contact/Form/Relationship.tpl index 5ad0f4ebb7..2ff3da0ceb 100644 --- a/templates/CRM/Contact/Form/Relationship.tpl +++ b/templates/CRM/Contact/Form/Relationship.tpl @@ -77,8 +77,8 @@ {/if} {if $action eq 2 | $action eq 1} {* add and update actions *} - {* Retrieve the ID for the Employee / Employer relationship type *} - {crmAPI var="employmentRelationship" entity="RelationshipType" action="getvalue" version="3" name_a_b="Employee of" return="id"} + {* Retrieve the ID for the Employee / Employer relationship type *} + {crmAPI var="employmentRelationship" entity="RelationshipType" action="getvalue" version="3" name_a_b="Employee of" return="id"}

{if $action eq 1}{ts}New Relationship{/ts}{else}{ts}Edit Relationship{/ts}{/if}

{if $action eq 1} diff --git a/templates/CRM/Contact/Page/View/Summary.tpl b/templates/CRM/Contact/Page/View/Summary.tpl index dcd4524007..0c4fab4517 100644 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@ -353,7 +353,7 @@ cj(document).ready(function($) { saveAnywayLabel: "{/literal}{ts escape='js'}Save Anyway{/ts}{literal}", reloadLabel: "{/literal}{ts escape='js'}Reload Page{/ts}{literal}" }); - //Enhance styling of "View Contact" tabs to indicate empty/non-empty tags + //Enhance styling of "View Contact" tabs to indicate empty/non-empty tags $('div#mainTabContainer ul').find('li').each(function(n){ if($(this).find('em').html()==0){ $(this).addClass("disabled"); -- 2.25.1