[Zope3-checkins] CVS: zopeproducts/demo/jobboard -
joblistview.pt:1.1 jobview.pt:1.1 configure.zcml:1.20
JobListView.pt:NONE JobView.pt:NONE
sree
sree at mahiti.org
Tue Dec 16 07:38:33 EST 2003
Update of /cvs-repository/zopeproducts/demo/jobboard
In directory cvs.zope.org:/tmp/cvs-serv3869
Modified Files:
configure.zcml
Added Files:
joblistview.pt jobview.pt
Removed Files:
JobListView.pt JobView.pt
Log Message:
=== Added File zopeproducts/demo/jobboard/joblistview.pt ===
<HTML i18n:domain="jobboard">
<HEAD>
<TITLE i18n:translate="job-board-title">Job Board</TITLE>
</HEAD>
<BODY>
<h1 i18n:translate="job-board-title">Job Board</h1>
<A href="edit.html" i18n:translate="submit-new-job">Submit a new job</A>
<H2 i18n:translate="job-listings">Job Listings</H2>
<table>
<tr tal:repeat="jobid context/getApprovedIds">
<td>
<a href="jobid" tal:attributes="href jobid">
<span tal:replace="context/?jobid/summary">A job summary</span></A>
</td>
</tr>
</table>
<!-- XXX this should only appear if the user has the proper permissions -->
<h2 i18n:translate="other-operations">Other operations</h2>
<a href="review.html"
i18n:translate="approve-submitted-jobs">Approve submitted jobs</a>
</BODY>
</HTML>
=== Added File zopeproducts/demo/jobboard/jobview.pt ===
<html i18n:domain="jobboard">
<head>
<title tal:content="context/summary">Job summary goes here</title>
</head>
<body>
<h3 tal:content="context/summary">Job summary goes here</h3>
<table border=0>
<tr><td i18n:translate="full-description">Description:</td>
<td>
<pre tal:content="context/description">Full descripion goes here
(multiple lines)
</pre>
</td>
</tr>
<tr><td i18n:translate="contact">Contact:</td>
<td><a href="user at host.com"
tal:attributes="href string:mailto:${context/contact}"
tal:content="context/contact">user at host.com</a></td>
</tr>
<tr><td i18n:translate="salary">Salary Range:</td>
<td tal:content="context/salary"></td>
</tr>
<tr><td i18n:translate="startdate">Start date:</td>
<td tal:content="python: request.locale.getDateFormatter('full').format(context.startdate)"></td>
</tr>
</table>
<table border=0>
<tr><td>
<a href=".." i18n:translate="back-to-jobs">Back to jobs</a>
</td></tr>
</table>
</body>
</html>
=== zopeproducts/demo/jobboard/configure.zcml 1.19 => 1.20 ===
--- zopeproducts/demo/jobboard/configure.zcml:1.19 Tue Dec 16 06:55:01 2003
+++ zopeproducts/demo/jobboard/configure.zcml Tue Dec 16 07:38:32 2003
@@ -31,7 +31,7 @@
<browser:page
name="index.html"
for="zopeproducts.demo.jobboard.interfaces.IJobList"
- template="JobListView.pt"
+ template="joblistview.pt"
permission="zope.View"
/>
@@ -49,7 +49,7 @@
<browser:page
name="index.html"
for="zopeproducts.demo.jobboard.interfaces.IJob"
- template="JobView.pt"
+ template="jobview.pt"
permission="zope.View"
/>
=== Removed File zopeproducts/demo/jobboard/JobListView.pt ===
=== Removed File zopeproducts/demo/jobboard/JobView.pt ===
More information about the Zope3-Checkins
mailing list