From f3b16abfe4f0df1a9d30fdf110e5886e76def2df Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 21 Mar 2018 16:22:08 +1300 Subject: [PATCH] Show custom address view only fields in edit mode. This brings them into line with the behaviour of other custom fields in edit mode (shown, but greyed out) and is a step towards sharing the tpl --- templates/CRM/Contact/Form/Edit/Address/CustomField.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/CRM/Contact/Form/Edit/Address/CustomField.tpl b/templates/CRM/Contact/Form/Edit/Address/CustomField.tpl index 3ce814cc99..6963a97027 100644 --- a/templates/CRM/Contact/Form/Edit/Address/CustomField.tpl +++ b/templates/CRM/Contact/Form/Edit/Address/CustomField.tpl @@ -24,7 +24,7 @@ +--------------------------------------------------------------------+ *} {assign var="element_name" value=$element.element_custom_name} -{if $element.is_view eq 0}{* fix for CRM-3510 *} + {if $element.help_pre}   @@ -103,5 +103,4 @@ {$element.help_post}
  {/if} - {/if} {/if} -- 2.25.1