diff zpt/staff/pubman/change_publications.zpt @ 170:485bf377913a

fix staff editing pages.
author casties
date Fri, 07 Jun 2013 16:29:34 +0200
parents 6ae0201b1257
children
line wrap: on
line diff
--- a/zpt/staff/pubman/change_publications.zpt	Fri Jun 07 12:47:11 2013 +0200
+++ b/zpt/staff/pubman/change_publications.zpt	Fri Jun 07 16:29:34 2013 +0200
@@ -2,33 +2,35 @@
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html metal:use-macro="here/mainEditFile/macros/page">
 <body>
-<tal:block metal:fill-slot="navsel" tal:define="global menusel string:talks" />
-
-<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
-  
-
-<div>
-<form action="" method="post">
-
-<table>
-
-<input type="hidden" value="change" name="method"/>
+  <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
 
-<tr>
-<td>Delete</td><td>Priority</td><td>Citation</td>
-</tr>
-<tr tal:repeat="entry python:here.getSelectedPublications()">
-<td><input type="checkbox" value="delete" tal:attributes="name python:entry.escidocid"/></td>
-<td><input type="text" size="5" tal:attributes="name python:entry.escidocid+'__p'; value python:entry.priority"/></td>
-<td><tal:x tal:replace="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)"/></td>
-</tr>
+  <tal:block metal:fill-slot="body">
+    <div>
+      <form action="" method="post">
+        <input type="hidden" value="change" name="method" />
+        <table>
+          <tr>
+            <th>Delete</th>
+            <th>Priority</th>
+            <th>Citation</th>
+          </tr>
+          <tr tal:repeat="entry python:here.getSelectedPublications()">
+            <td><input type="checkbox" value="delete" tal:attributes="name python:entry.escidocid" /></td>
+            <td><input type="text" size="5" tal:attributes="name python:entry.escidocid+'__p'; value python:entry.priority" /></td>
+            <td><tal:x tal:replace="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)" /></td>
+          </tr>
+        </table>
 
-</table>
-<input type="submit" value="submit"/> <b>This will delete all selected entries and change the priorities!</b>
+        <p>
+          <input type="submit" value="submit" />
+          <b>This will delete all selected entries and change the priorities!</b>
+        </p>
+        <p>
+          <a tal:attributes="href string:$root/editPublications">Back to publication list</a>
+        </p>
+      </form>
 
-</form>
-
-</div>
-</tal:block>
+    </div>
+  </tal:block>
 </body>
 </html>