[Zope-CVS] CVS: Packages/JobBoardEx - JobListView.pt:1.1 JobListView.py:1.9 summary.pt:NONE

Guido van Rossum guido@python.org
Thu, 21 Mar 2002 11:48:56 -0500


Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv3956

Modified Files:
	JobListView.py 
Added Files:
	JobListView.pt 
Removed Files:
	summary.pt 
Log Message:
Renamed summary.pt to JobListView.pt


=== Added File Packages/JobBoardEx/JobListView.pt ===
<HTML>
<HEAD>
<TITLE>Job Board</TITLE>
</HEAD>
<BODY>
<h1>Job Board</h1>

<A href="../NewJob">Submit a new job</A>

<H2>Job Listings</H2>

<table>

<tr tal:repeat="job container/getApprovedJobs">
    <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>


=== Packages/JobBoardEx/JobListView.py 1.8 => 1.9 ===
         return self.joblist.query(JobState.Approved)
 
-    index = PageTemplateFile("summary.pt", globals())
+    index = PageTemplateFile("JobListView.pt")

=== Removed File Packages/JobBoardEx/summary.pt ===