[Vtigercrm-commits] [vtiger-commits] r7208 - /vtigercrm/trunk/Smarty/templates/RelatedLists.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Jun 17 03:06:35 EDT 2006


Author: saraj
Date: Sat Jun 17 01:06:32 2006
New Revision: 7208

Log:
changes made to fix the issue 1040

Modified:
    vtigercrm/trunk/Smarty/templates/RelatedLists.tpl

Modified: vtigercrm/trunk/Smarty/templates/RelatedLists.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/RelatedLists.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/RelatedLists.tpl Sat Jun 17 01:06:32 2006
@@ -35,11 +35,16 @@
 			<td>
 				<table border=0 cellspacing=0 cellpadding=3 width=100% class="small">
 				<tr>
+					{if $OP_MODE eq 'edit_view'}
+                                                {assign var="action" value="EditView"}
+                                        {else}
+                                                {assign var="action" value="DetailView"}
+                                        {/if}
 					<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
 					{if $MODULE eq 'Activities'}
-                                                <td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=DetailView&module={$MODULE}&record={$ID}&activity_mode={$ACTIVITY_MODE}&parenttab={$CATEGORY}">{$SINGLE_MOD} {$APP.LBL_INFORMATION}</a></td>
+                                                <td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action={$action}&module={$MODULE}&record={$ID}&activity_mode={$ACTIVITY_MODE}&parenttab={$CATEGORY}">{$SINGLE_MOD} {$APP.LBL_INFORMATION}</a></td>
                                         {else}
-                                        <td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=DetailView&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}">{$SINGLE_MOD} {$APP.LBL_INFORMATION}</a></td>
+                                        <td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action={$action}&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}">{$SINGLE_MOD} {$APP.LBL_INFORMATION}</a></td>
                                         {/if}
 					<td class="dvtTabCache" style="width:10px">&nbsp;</td>
 					<td class="dvtSelectedCell" align=center nowrap>{$APP.LBL_MORE} {$APP.LBL_INFORMATION}</td>





More information about the vtigercrm-commits mailing list