[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:
Added Files:
Removed Files:
Log Message:
Renamed summary.pt to JobListView.pt

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

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

<H2>Job Listings</H2>


<tr tal:repeat="job container/getApprovedJobs">
    <a href="jobid" tal:attributes="href string:../${job/id}/JobView;;view">
    <span tal:replace="job/summary">A job summary</span></A>

<!-- XXX this should only appear if the user has the proper permissions -->
<h2>Other operations</h2>
<a href="../ApproveJobs">Approve submitted jobs</a>


=== 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 ===