view zpt/project/edit_publications.zpt @ 22:5ed0b0c21fe5

started to clean up MPIWGProject.
author casties
date Mon, 08 Apr 2013 20:28:29 +0200
parents zpt/MPIWGProject_managePublicationsForm.zpt@bca61e893fcc
children a6ace48c2bf2
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html metal:use-macro="here/edit_template/macros/page">
<head>
</head>
<body>
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
<tal:block metal:fill-slot="body">
  <table>
    <tal:block tal:repeat="publication here/getPublications">
      <tr>
        <td>
          <a tal:attributes="href python:here.absolute_url()+'/managePublications?pubName='+publication[0]+'&op=up'">up</a><br>
          <a tal:attributes="href python:here.absolute_url()+'/managePublications?pubName='+publication[0]+'&op=down'">down</a>
        </td>
        <td tal:content="structure python:getattr(publication[1],'text','')" />
        <td>
          <a tal:attributes="href python:publication[1].getId()+'/editPublication'">Edit</a><br/> 
          <a tal:attributes="href python:'deletePublication?id='+publication[1].getId()">Delete</a>
        </td>
      </tr>
    </tal:block>
  </table>

  <h3>Add a publication</h3>
  <form action="addPublication" method="post">
    <textarea name="text" rows="3" cols="80"></textarea>
    <p><input type="submit" value="submit"/></p>
  </form>
  <p>(If the publications from your current project description are not showing in this list, click <a href="copyPublicationsToList">here</a> to copy them.)</p>
<h3><tal:x condition="python:here.hasExtendedPublicationList()">
		<a href="publicationList/editEntries">
		Manage Extended Publication List</a>
		</tal:x>
		<tal:x condition="not:python:here.hasExtendedPublicationList()">
		<a href="createExtendedPublicationList">
		Create Extended Publication List</a>
		</tal:x>
</h3>
</tal:block>
</body>
</html>