diff zpt/project/edit_template.zpt @ 96:2dd8e3be4a8e

add project image link. fix edit image template bug.
author casties
date Thu, 16 May 2013 15:58:28 +0200
parents 975a8d88e315
children 2da62e93a1c6
line wrap: on
line diff
--- a/zpt/project/edit_template.zpt	Thu May 16 15:05:57 2013 +0200
+++ b/zpt/project/edit_template.zpt	Thu May 16 15:58:28 2013 +0200
@@ -27,7 +27,7 @@
     <span tal:attributes="class python:test('themes'==menusel, 'mainmenusel', 'mainmenu')"><a 
       tal:attributes="href string:$root/tagTheProject">Tags</a></span>
     <span class="mainmenu"><a target="_blank" 
-      tal:attributes="href python:here.getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">View</a></span>
+      tal:attributes="href python:here.getMPIWGProject().getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">View</a></span>
   </div>
   <div class="content">
   <tal:block metal:define-slot="body"/>