diff zpt/staff/edit_shortEntry.zpt @ 236:c90c8333ca8f

fix problem with current_work_p and auto-generated profile.
author casties
date Wed, 08 Jan 2014 10:36:16 +0100
parents 485bf377913a
children 45ef92d6aa8c
line wrap: on
line diff
--- a/zpt/staff/edit_shortEntry.zpt	Wed Dec 04 10:42:22 2013 +0100
+++ b/zpt/staff/edit_shortEntry.zpt	Wed Jan 08 10:36:16 2014 +0100
@@ -11,8 +11,8 @@
       <input type="hidden" name="key" tal:attributes="value here/content/key" />
       <h3>Short entry</h3>
       <p>
-        This entry appears only in the staff lists at: <a href="/en/staff/index.html" target="_blank">Fullist</a> and the lists of members of you
-        department
+        This entry appears only in the staff lists at: <a href="/en/staff/index.html" target="_blank">Fullist</a> 
+        and the lists of members of your department.
       </p>
       <table>
         <tr>
@@ -22,7 +22,7 @@
         <tr>
           <td><input tal:attributes="name string:current_work; value here/content/current_work" size="80" />
           </td>
-          <td tal:define="name string:publish; value here/content/current_work_p;"><span
+          <td tal:define="name string:current_work_p; value here/content/current_work_p;"><span
             metal:use-macro="here/common_template/macros/yesno_input_radio" /></td>
         </tr>
       </table>