[Vtigercrm-commits] [vtiger-commits] r6348 - in /vtigercrm/trunk/Smarty/templates: ListView.tpl ListViewEntries.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 24 06:34:13 EDT 2006
Author: saraj
Date: Wed May 24 04:34:08 2006
New Revision: 6348
Log:
* Added condition to avoid the change owner button in Notes, Products, Faq, Vendors and PriceBooks modules's listview
Modified:
vtigercrm/trunk/Smarty/templates/ListView.tpl
vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl
Modified: vtigercrm/trunk/Smarty/templates/ListView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListView.tpl Wed May 24 04:34:08 2006
@@ -233,7 +233,9 @@
{/if}
{/foreach}
+ {if $MODULE neq 'Notes' && $MODULE neq 'Products' && $MODULE neq 'Faq' && $MODULE neq 'Vendors' && $MODULE neq 'PriceBooks'}
<input class="small" type="button" value="{$APP.LBL_CHANGE_OWNER}" onclick="return change(this,'changeowner')"/>
+ {/if}
</td>
<td style="padding-right:20px" class="small" nowrap>{$RECORD_COUNTS}</td>
<td nowrap >
@@ -298,7 +300,9 @@
{/if}
{/foreach}
+ {if $MODULE neq 'Notes' && $MODULE neq 'Products' && $MODULE neq 'Faq' && $MODULE neq 'Vendors' && $MODULE neq 'PriceBooks'}
<input class="small" type="button" value="{$APP.LBL_CHANGE_OWNER}" onclick="return change(this,'changeowner')"/>
+ {/if}
</td>
<td style="padding-right:20px" class="small" nowrap>{$RECORD_COUNTS}</td>
<td nowrap >
Modified: vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl Wed May 24 04:34:08 2006
@@ -33,7 +33,9 @@
{/if}
{/foreach}
+ {if $MODULE neq 'Notes' && $MODULE neq 'Products' && $MODULE neq 'Faq' && $MODULE neq 'Vendors' && $MODULE neq 'PriceBooks'}
<input class="small" type="button" value="{$APP.LBL_CHANGE_OWNER}" onclick="return change(this,'changeowner')"/>
+ {/if}
</td>
<td style="padding-right:20px" class="small" nowrap>{$RECORD_COUNTS}</td>
<td nowrap >
@@ -105,7 +107,9 @@
{/if}
{/foreach}
+ {if $MODULE neq 'Notes' && $MODULE neq 'Products' && $MODULE neq 'Faq' && $MODULE neq 'Vendors' && $MODULE neq 'PriceBooks'}
<input class="small" type="button" value="{$APP.LBL_CHANGE_OWNER}" onclick="return change(this,'changeowner')"/>
+ {/if}
</td>
<td style="padding-right:20px" class="small" nowrap>{$RECORD_COUNTS}</td>
<td nowrap >
More information about the vtigercrm-commits
mailing list