Show custom address view only fields in edit mode.
authoreileen <emcnaughton@wikimedia.org>
Wed, 21 Mar 2018 03:22:08 +0000 (16:22 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 21 Mar 2018 07:09:51 +0000 (20:09 +1300)
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

index 3ce814cc997a73e8a025d50c5a67338d9e14ff62..6963a970279ce75a796166a4e97faa799b2966ef 100644 (file)
@@ -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}
         <tr>
             <td>&nbsp;</td>
 <td class="description">{$element.help_post}<br />&nbsp;</td>
 </tr>
         {/if}
-    {/if}
 {/if}