[Vtigercrm-commits] [vtiger-commits] r10580 - in /vtigercrm/branches/5.0.3: Smarty/templates/ActivityDetailView.tpl modules/Calendar/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 6 05:45:35 EDT 2007
Author: richie
Date: Fri Apr 6 03:45:00 2007
New Revision: 10580
Log:
fix for No link form todo task to the related contact. Fixes #3262 --minnie
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl
vtigercrm/branches/5.0.3/modules/Calendar/DetailView.php
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl Fri Apr 6 03:45:00 2007
@@ -369,7 +369,7 @@
</tr>
<tr>
<td align=right><b>{$MOD.LBL_CONTACT_NAME}</b></td>
- <td align=left>{$ACTIVITYDATA.contact_id}</td>
+ <td align=left><a href="{$ACTIVITYDATA.contact_idlink}">{$ACTIVITYDATA.contact_id}</a></td>
</tr>
</table>
{/if}
Modified: vtigercrm/branches/5.0.3/modules/Calendar/DetailView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Calendar/DetailView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Calendar/DetailView.php Fri Apr 6 03:45:00 2007
@@ -108,10 +108,10 @@
{
$fldlabel[$field['fldname']] = $label;
$finaldata[$field['fldname']] = $field['value'];
+ $finaldata[$field['fldname'].'link'] = $field['link'];
}
}
}
-
//Start
//To set user selected hour format
if($current_user->hour_format == '')
@@ -152,6 +152,7 @@
$data['taskstatus'] = $finaldata['taskstatus'];
$data['activitytype'] = $activity_mode;
$data['contact_id'] = $finaldata['contact_id'];
+ $data['contact_idlink'] = $finaldata['contact_idlink'];
}
elseif($activity_mode == 'Events')
{
More information about the vtigercrm-commits
mailing list