diff zpt/staff/member_index_html.zpt @ 195:124efbedd35b

publish CV and publications on personal pages
author dwinter
date Thu, 20 Jun 2013 14:44:30 +0200
parents 90d44df497a6
children 2598210ada7a
line wrap: on
line diff
--- a/zpt/staff/member_index_html.zpt	Thu Jun 20 14:00:13 2013 +0200
+++ b/zpt/staff/member_index_html.zpt	Thu Jun 20 14:44:30 2013 +0200
@@ -154,10 +154,10 @@
 
     <div class="sideblock">
       <h2>Related Material</h2>
-      <div class="item download" tal:condition="python:getattr(here,'cv_publish','no')=='yes'">
+      <div class="item download" tal:condition="python:here.content.cv_p=='yes'">
         <a target="_blank" href="downloadCV">Download Curriculum Vitae</a>
       </div>
-      <div class="item download" tal:condition="python:getattr(here,'publications_publish','no')=='yes'">
+      <div class="item download" tal:condition="python:here.content.publications_p=='yes'">
         <a target="_blank" href="downloadPublications">Download Publication List</a> <br />
       </div>
       <div class="item external">