[Vtigercrm-commits] [vtiger-commits] r5865 - in /vtigercrm/trunk: Smarty/templates/ListViewEntries.tpl modules/Import/ImportSteplast.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu May 11 03:32:40 EDT 2006


Author: saraj
Date: Thu May 11 01:32:33 2006
New Revision: 5865

Log:
* Modified to hide the customview links in imported records listview in import step last (trac - 718)

Modified:
    vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl
    vtigercrm/trunk/modules/Import/ImportSteplast.php

Modified: vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl Thu May 11 01:32:33 2006
@@ -42,6 +42,8 @@
 					</table>
                                  </td>
 				 <td width=100% align="right">
+				 <!-- This if condition is added to hide the Custom View Links in Imported ListView -->
+				 {if $HIDE_CUSTOM_LINKS neq 1}
 				   <table border=0 cellspacing=0 cellpadding=0 class="small">
 					<tr>
 						<td>{$APP.LBL_VIEW}</td>
@@ -62,6 +64,7 @@
 						    {/if}	
 					</tr>
 				   </table>
+				 {/if}
 				 </td>	
                		      </tr>
 			 </table>

Modified: vtigercrm/trunk/modules/Import/ImportSteplast.php
==============================================================================
--- vtigercrm/trunk/modules/Import/ImportSteplast.php (original)
+++ vtigercrm/trunk/modules/Import/ImportSteplast.php Thu May 11 01:32:33 2006
@@ -208,6 +208,7 @@
 		$listview_entries = getListViewEntries($object,$module_name,$list_result,$navigation_array,"","","EditView","Delete","");
 
 		$smarty->assign("NAVIGATION", $navigationOutput);
+		$smarty->assign("HIDE_CUSTOM_LINKS", 1);//Added to hide the CustomView links in imported records ListView
 		$smarty->assign("LISTHEADER", $listview_header);
 		$smarty->assign("LISTENTITY", $listview_entries);
 





More information about the vtigercrm-commits mailing list