From 6aec6d712c7c88bca6f2732d354dbbf65bce4869 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 1 Dec 2009 15:00:50 +0000
Subject: [PATCH] make a link using physicalPathToURL, to support virtual
 hosting

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30965 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/CMFActivity/dtml/manageActivities.dtml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/CMFActivity/dtml/manageActivities.dtml b/product/CMFActivity/dtml/manageActivities.dtml
index 06c37dfbd8..48bc4f703b 100644
--- a/product/CMFActivity/dtml/manageActivities.dtml
+++ b/product/CMFActivity/dtml/manageActivities.dtml
@@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     <th align="left" valign="top">Processing Node</th>
     <th align="left" valign="top">Priority</th>
     <th align="left" valign="top">Processing</th>
-    <th align="left" valign="top">Call traceback</th>
+    <th align="left" valign="top">Call Traceback</th>
   </tr>
   <dtml-in expr="getMessageList(include_processing=1)">
     <dtml-let path="'/'.join(object_path)">
@@ -65,7 +65,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
         <td align="left" valign="top"><dtml-var uid>
           <dtml-var expr="{'SQLDict':'(dict)','SQLQueue':'(queue)'}[activity]">
         </td>
-        <td align="left" valign="top"><a href="&dtml-path;"><dtml-var path></a></td>
+        <td align="left" valign="top"><a href="<dtml-var expr="REQUEST.physicalPathToURL(path)">"><dtml-var path></a></td>
         <td align="left" valign="top"><dtml-var method_id></td>
         <td align="left" valign="top">
           <dtml-if activity_kw><dtml-var expr="_.repr(activity_kw)[1:-1]" html_quote>
-- 
2.30.9