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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 09:20:15 EDT 2006


Author: saraj
Date: Tue Jun 27 07:20:12 2006
New Revision: 7577

Log:
changes made to integrate home page dashboard

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 Tue Jun 27 07:20:12 2006
@@ -146,6 +146,7 @@
 
 	<div id="MainMatrix">
 				{foreach key=modulename item=tabledetail from=$HOMEDETAILS}
+				{if $modulename neq 'Dashboard'}
 				{if $tabledetail neq ''}
 				
 					<div class="MatrixLayer" style="float:left;" id="{$tabledetail.Title.2}">
@@ -164,6 +165,7 @@
 		{else}	
 		<td colspan="2"><img src="{$IMAGE_PATH}bookMark.gif" align="absmiddle" /> {$elements.1}</td>
 		{/if}
+
            </tr>
 {/foreach}
 	<tr><td colspan="2" align="right" valign="bottom"><a href="index.php?module={$modulename}&action=index">{$APP.LBL_MORE}..</a></td></tr>
@@ -171,6 +173,14 @@
 				
 			</div>
 			{/if}	
+		{else}
+                        <div class="MatrixLayer" style="float:left;width:63%;" id="homepagedb">
+                        <table width="100%" height="100%" border="0" cellpadding="5" cellspacing="0" class="small">
+                          <tr><td>
+                                {$tabledetail}
+                          </td></tr>
+                        </table>
+                {/if}
 {/foreach}
 </div>
 </td>





More information about the vtigercrm-commits mailing list