[Zope-CVS] CVS: Packages/JobBoardEx/Views/Browser - summary.pt:1.4

Barry Warsaw barry@wooz.org
Wed, 20 Mar 2002 17:34:15 -0500


Update of /cvs-repository/Packages/JobBoardEx/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv3474/Views/Browser

Modified Files:
	summary.pt 
Log Message:
Fix the url to get you to the job view.

Add a button to get you to the job approval page, although this should
really be conditional on whether you have the right permission or not.


=== Packages/JobBoardEx/Views/Browser/summary.pt 1.3 => 1.4 ===
 
 <tr tal:repeat="job container/getApprovedJobs">
-<td>
-<a href="jobid" tal:attributes="href string:../${job/id}">
-<span tal:replace="job/summary">A job summary</span></A>
-</td>
+    <td>
+    <a href="jobid" tal:attributes="href string:../${job/id}/JobView;;view">
+    <span tal:replace="job/summary">A job summary</span></A>
+    </td>
 </tr>
-
 </table>
+
+<!-- XXX this should only appear if the user has the proper permissions -->
+<h2>Other operations</h2>
+<a href="../ApproveJobs">Approve submitted jobs</a>
+
 </BODY>
 </HTML>