minor fix
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 11 Jan 2016 16:44:24 +0000 (22:14 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Mon, 11 Jan 2016 16:44:24 +0000 (22:14 +0530)
templates/CRM/Custom/Page/CustomDataView.tpl

index ad87a1f531a31b4fcf590cece298d530af0fc19a..ddae280ad9a3aa92ff3332310cffdb8524e4f6d6 100644 (file)
        {else}
           <div class="label">{$element.field_title}</div>
           {if $element.field_type == 'File'}
-          {if !empty($element.field_value.displayURL)}
-            <div class="content">
-              <a href="{$element.field_value.displayURL}" class='crm-image-popup'>
-               <img src="{$element.field_value.displayURL}" height="100" width="100">
-              </a>
-            </div>
-          {else}
             <div class="content">
              {if $element.field_value}
-              {$element.field_value}
+               {$element.field_value}
              {else}
-              <br/>
+               <br/>
              {/if}
             </div>
-          {/if}
           {else}
             {if $element.field_data_type == 'Money'}
               {if $element.field_type == 'Text'}