fixing to match default smarty syntax.
authorJamie McClelland <jm@mayfirst.org>
Wed, 9 Oct 2013 19:41:34 +0000 (15:41 -0400)
committerJamie McClelland <jm@mayfirst.org>
Wed, 16 Oct 2013 14:44:45 +0000 (10:44 -0400)
http://issues.civicrm.org/jira/browse/CRM-13565

templates/CRM/Campaign/Form/Task/Interview.tpl

index a46359fa75d347cecd151787c9b8e1978b5251c4..48b8413eba8171a599e04757079ca959db493e50 100644 (file)
                 {continue}
               {/if}
               <td class="compressed {$field.data_type} {$fieldName}">
-                {if ( $field.data_type eq 'Date' and $field.is_view == 0) or
+                {if ( $field.data_type eq 'Date' and $field.is_view eq 0) or
                 ( $fieldName eq 'thankyou_date' ) or ( $fieldName eq 'cancel_date' ) or ( $fieldName eq 'receipt_date' ) or (  $fieldName eq 'activity_date_time') }
                 {include file="CRM/common/jcalendar.tpl" elementName=$fieldName elementIndex=$voterId batchUpdate=1}
                 {elseif $fieldName|substr:0:5 eq 'phone'}