CRM-13857 : modifications to not show empty created_by, modified_by fields i.e while...
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Mon, 2 Dec 2013 06:29:50 +0000 (11:59 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Mon, 2 Dec 2013 06:29:50 +0000 (11:59 +0530)
templates/CRM/Group/Form/Edit.tpl

index 24968bb842f7e70eb4f2a69c8dbbe45493e0759e..ed72d748c89407f721b6a04c5b4ce0ff14848e81 100644 (file)
             </td>
         </tr>
 
+        {if $group.created_by}
         <tr class="crm-group-form-block-created">
            <td class="label">{ts}Created By{/ts}</td>
-           <td>{if $group.created_by}{$group.created_by}{else}&nbsp;{/if}</td>
+           <td>{$group.created_by}</td>
         </tr>
+        {/if}
 
+        {if $group.modified_by}
         <tr class="crm-group-form-block-modified">
            <td class="label">{ts}Modified By{/ts}</td>
-           <td>{if $group.modified_by}{$group.modified_by}{else}&nbsp;{/if}</td>
+           <td>{$group.modified_by}</td>
         </tr>
+        {/if}
 
         <tr class="crm-group-form-block-description">
       <td class="label">{$form.description.label}</td>