[Zope-CVS] CVS: Packages/JobBoardEx - ApproveJobs.pt:1.5 JobEditView.pt:1.3 JobListView.pt:1.4 JobPreviewView.pt:1.3 JobView.pt:1.6
Steve Alexander
steve@cat-box.net
Mon, 1 Apr 2002 05:54:46 -0500
Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv1347
Modified Files:
ApproveJobs.pt JobEditView.pt JobListView.pt JobPreviewView.pt
JobView.pt
Log Message:
changed page template namespaces:
here --> context (actually, there were none of these)
container --> view
=== Packages/JobBoardEx/ApproveJobs.pt 1.4 => 1.5 ===
<tr><th>Defer</th><th>Approve</th><th>Discard</th>
</tr>
- <tr tal:repeat="job container/getPendingJobs"
+ <tr tal:repeat="job view/getPendingJobs"
style="text-align:center">
<td><input name="job_N" type="radio" value="defer" checked
tal:attributes="name string:job_${job/id}"></td>
=== Packages/JobBoardEx/JobEditView.pt 1.2 => 1.3 ===
<tr><td>Submitter:</td>
<td><input name="submitter" type="text" value="" size="72"
- tal:attributes="value container/getSubmitter|default" />
+ tal:attributes="value view/getSubmitter|default" />
</td>
</tr>
<tr><td>Summary:</td>
<td><input name="summary" type="text" value="" size="72"
- tal:attributes="value container/getSummary|default" />
+ tal:attributes="value view/getSummary|default" />
</td>
</tr>
<tr><td>Description:</td>
<td><textarea cols=72 rows=20 name="description" type="text"
- ><span tal:replace="container/getDescription|nothing"
+ ><span tal:replace="view/getDescription|nothing"
/></textarea>
</td>
</tr>
<tr><td>Contact:</td>
<td><input name="contact" type="text" value="" size="72"
- tal:attributes="value container/getContact|default" />
+ tal:attributes="value view/getContact|default" />
</td>
</tr>
<tr><td colspan="2">
=== Packages/JobBoardEx/JobListView.pt 1.3 => 1.4 ===
<table>
-<tr tal:repeat="job container/getApprovedJobs">
+<tr tal:repeat="job view/getApprovedJobs">
<td>
<a href="jobid" tal:attributes="href string:../${job/id}">
<span tal:replace="job/summary">A job summary</span></A>
=== Packages/JobBoardEx/JobPreviewView.pt 1.2 => 1.3 ===
<table border=0>
<tr><td>Submitter:</td>
- <td tal:content="container/getSubmitter">aperson@dom.ain</td>
+ <td tal:content="view/getSubmitter">aperson@dom.ain</td>
</tr>
<tr><td>Summary:</td>
- <td tal:content="container/getSummary">The best job on the net</td>
+ <td tal:content="view/getSummary">The best job on the net</td>
</tr>
<tr><td>Description:</td>
- <td tal:content="container/getDescription">This is really really
+ <td tal:content="view/getDescription">This is really really
really the best job on the Internet</td>
</tr>
<tr><td>Contact:</td>
- <td tal:content="container/getContact">bperson@dom.ain</td>
+ <td tal:content="view/getContact">bperson@dom.ain</td>
</tr>
</table>
@@ -28,13 +28,13 @@
</td></tr>
</table>
<input name="submitter" type="hidden" value="Submitter" size="72"
- tal:attributes="value container/getSubmitter" />
+ tal:attributes="value view/getSubmitter" />
<input name="summary" type="hidden" value="Summary" size="72"
- tal:attributes="value container/getSummary" />
+ tal:attributes="value view/getSummary" />
<input name="description" type="hidden" value=""
- tal:attributes="value container/getDescription" />
+ tal:attributes="value view/getDescription" />
<input name="contact" type="hidden" value="" size="72"
- tal:attributes="value container/getContact" />
+ tal:attributes="value view/getContact" />
</form>
</body>
=== Packages/JobBoardEx/JobView.pt 1.5 => 1.6 ===
<table border=0>
<tr><td>Submitter:</td>
- <td tal:content="container/getSubmitter">aperson@dom.ain</td>
+ <td tal:content="view/getSubmitter">aperson@dom.ain</td>
</tr>
<tr><td>Summary:</td>
- <td tal:content="container/getSummary">The best job on the net</td>
+ <td tal:content="view/getSummary">The best job on the net</td>
</tr>
<tr><td>Description:</td>
- <td tal:content="container/getDescription">This is really really
+ <td tal:content="view/getDescription">This is really really
really the best job on the Internet</td>
</tr>
<tr><td>Contact:</td>
- <td tal:content="container/getContact">bperson@dom.ain</td>
+ <td tal:content="view/getContact">bperson@dom.ain</td>
</tr>
</table>