[Vtigercrm-commits] [vtiger-commits] r7973 - in /vtigercrm/trunk: Smarty/templates/HomePage.tpl modules/Activities/OpenListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jul 13 02:16:20 EDT 2006
Author: richie
Date: Thu Jul 13 00:16:15 2006
New Revision: 7973
Log:
Extra space in Home page activities has been removed
Modified:
vtigercrm/trunk/Smarty/templates/HomePage.tpl
vtigercrm/trunk/modules/Activities/OpenListView.php
Modified: vtigercrm/trunk/Smarty/templates/HomePage.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/HomePage.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/HomePage.tpl Thu Jul 13 00:16:15 2006
@@ -213,7 +213,6 @@
<td align="left" valign="middle" colspan="2" width="85%"><b class="style_Gray">{$entries.0}</b><br />{$entries.ACCOUNT_NAME}</td>
</tr>
{/foreach}
- <tr><td colspan="3" height="10"></td></tr>
</table>
</td>
</tr>
@@ -242,9 +241,6 @@
<td align="left" valign="middle" colspan="2" width="85%"><b class="style_Gray">{$entries.0}</b><br />{$entries.ACCOUNT_NAME}</td>
</tr>
{/foreach}
- <tr>
- <td colspan="3" height="10"></td>
- </tr>
</table></td>
</tr>
</table>
Modified: vtigercrm/trunk/modules/Activities/OpenListView.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/OpenListView.php (original)
+++ vtigercrm/trunk/modules/Activities/OpenListView.php Thu Jul 13 00:16:15 2006
@@ -224,7 +224,6 @@
}
}
// Code by Jaguar Ends
- $entries['noofactivities'] = $noofrecords;
$entries[$event['id']] = array(
'0' => '<a href="index.php?action=DetailView&module='.$event["module"].'&activity_mode='.$activity_type.'&record='.$event["id"].''.$return_url.'" style="'.$font_color.';">'.$event["name"].'</a>',
'IMAGE' => '<IMG src="'.$image_path.$event["type"].'s.gif">',
@@ -236,6 +235,8 @@
'RECURRINGTYPE' => ereg_replace('--','',$event['recurringtype']),
);
}
+ if($noofrecords > 0)
+ $entries['noofactivities'] = $noofrecords;
$values=Array('Title'=>$title,'Header'=>$header,'Entries'=>$entries);
$log->debug("Exiting getPendingActivities method ...");
return $values;
More information about the vtigercrm-commits
mailing list