[Vtigercrm-commits] [vtiger-commits] r7396 - /vtigercrm/trunk/Smarty/templates/Inventory/InventoryDetailView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 13:56:15 EDT 2006
Author: richie
Date: Wed Jun 21 11:56:06 2006
New Revision: 7396
Log:
fixed the detail view ajax edit issues
Modified:
vtigercrm/trunk/Smarty/templates/Inventory/InventoryDetailView.tpl
Modified: vtigercrm/trunk/Smarty/templates/Inventory/InventoryDetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Inventory/InventoryDetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Inventory/InventoryDetailView.tpl Wed Jun 21 11:56:06 2006
@@ -185,7 +185,11 @@
<td class="dvtCellLabel" align=right width=25%>{$label}</td>
{/if}
{/if}
- {include file="DetailViewUI.tpl"}
+ {if $EDIT_PERMISSION eq 'yes'}
+ {include file="DetailViewUI.tpl"}
+ {else}
+ {include file="DetailViewFields.tpl"}
+ {/if}
{else}
<td class="dvtCellLabel" align=right> </td>
<td class="dvtCellInfo" align=left > </td>
More information about the vtigercrm-commits
mailing list