[Vtigercrm-commits] [vtiger-commits] r9783 - /vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Nov 8 02:32:56 EST 2006


Author: richie
Date: Wed Nov  8 00:32:28 2006
New Revision: 9783

Log:
Hard Coding of Related Lists Removed

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl Wed Nov  8 00:32:28 2006
@@ -128,7 +128,7 @@
 				<table border=0 cellspacing=0 cellpadding=3 width=100% class="small">
 				<tr>
 					<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
-					{if $MODULE eq 'Notes' || $MODULE eq 'Faq' || $MODULE eq 'Webmails' || ($MODULE eq 'Calendar' && $ACTIVITY_MODE eq 'Task')}
+					{if $IS_REL_LIST eq 'false'}
 					<td class="dvtSelectedCell" align=center nowrap>{$APP[$SINGLE_MOD]} {$APP.LBL_INFORMATION}</td>
 					<td class="dvtTabCache" style="width:100%">&nbsp;</td>
 					{else}
@@ -380,7 +380,7 @@
 </td></tr>
 {/if}
 </form>
-			{if $SinglePane_View eq 'true'}
+			{if $SinglePane_View eq 'true' && $IS_REL_LIST eq 'true'}
 				{include file= 'RelatedListNew.tpl'}
 			{/if}
 		</table>





More information about the vtigercrm-commits mailing list