File:  [Repository] / versionedFile / zpt / versionFileFolderMain.zpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Mar 22 15:46:07 2004 UTC (20 years, 3 months ago) by dwinter
Branches: dwinter
CVS tags: first
new

<html>
  <h2>Versioned File Folder - <span tal:content="here/title"/></h2>
  <p><a target="_blank" tal:attributes="href python:here.REQUEST['URL1']+'/acl_users/manage_main'">add a new User</a></p>
  <p><a tal:attributes="href python:here.REQUEST['URL1']+'/addFileForm'">add a new File</a></p>
  <table  width="100%" border=0 cellspacing=1 cellpadding=2>
    <tr>
      <th align=left bgcolor="#88ff88">File</th>
      <th align=left bgcolor="#cccccc">
	<a href="">Rev.</a>
      </th>
      <th align=left bgcolor="#cccccc">
	<a href="">Date</a>
      </th>
      <th align=left bgcolor="#cccccc">
	<a href="">Author</a>
      </th>
      <th align=left bgcolor="#cccccc">
	<a href="">Last log entry</a>
      </th>
      <th align=left bgcolor="#cccccc">
	<a href="">Download</a>
      </th>
      <th align=left bgcolor="#cccccc">
	<a href="">Downl. and lock</a>
      </th>
      <th align=left bgcolor="#cccccc">
	<a href="">Upload</a>
      </th>
    </tr>
    <span tal:omit-tag="" tal:repeat="version here/getVersionedFiles">
      <tr tal:define="lastVersion python:version[1].getLastVersion()">
	<td tal:content="python:version[1].title"/>
	<td>
	<span tal:replace="lastVersion/versionNumber"/>
	<font size="-1"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></font>
	</td>
	<td tal:content="lastVersion/bobobase_modification_time"/>
	<td tal:content="lastVersion/lastEditor"/>
	<td tal:content="lastVersion/versionComment"/>
	<td><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/'+lastVersion.getId()">download</a></td>
	<td><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/downloadLocked'">download and lock</a></td>
	
	<td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/addVersionedFileObjectForm'">Upload New Version</a></td>
	<td tal:condition="not:python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/addVersionedFileObjectForm'">Locked by: <span tal:replace="lastVersion/lockedBy"/></a>&nbsp;<a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/unlock'">unlock</a></td>
      </tr>
    </span>
   </table>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>