[Vtigercrm-commits] [vtiger-commits] r6840 - /vtigercrm/trunk/Smarty/templates/HomePage.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 31 07:36:49 EDT 2006


Author: saraj
Date: Wed May 31 05:36:40 2006
New Revision: 6840

Log:
count of key metrics has been fixed

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

Modified: vtigercrm/trunk/Smarty/templates/HomePage.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/HomePage.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/HomePage.tpl Wed May 31 05:36:40 2006
@@ -157,12 +157,14 @@
            </tr>
 	{foreach item=elements from=$tabledetail.Entries}
 	    <tr >
-		{if $tabledetail.Title.2 neq 'home_mytopinv' && $tabledetail.Title.2 neq 'home_mytopso' && $tabledetail.Title.2 neq 'home_mytopquote'}
+		{if $tabledetail.Title.2 neq 'home_mytopinv' && $tabledetail.Title.2 neq 'home_mytopso' && $tabledetail.Title.2 neq 'home_mytopquote' && $tabledetail.Title.2 neq 'home_metrics'}
 		<td colspan="2"><img src="{$IMAGE_PATH}bookMark.gif" align="absmiddle" /> {$elements.0}</td>
-		{else}
+		{elseif $tabledetail.Title.2 eq 'home_metrics'}
+		<td><img src="{$IMAGE_PATH}bookMark.gif" align="absmiddle" /> {$elements.0}</td>
+		<td align="absmiddle" /> {$elements.1}</td>
+		{else}	
 		<td colspan="2"><img src="{$IMAGE_PATH}bookMark.gif" align="absmiddle" /> {$elements.1}</td>
-		{/if}
-		
+		{/if}	
            </tr>
 {/foreach}
 	</table>





More information about the vtigercrm-commits mailing list