[zopeorg-checkins] CVS: Products/PythonJobs/skins/pyjobs - job_edit_form.pt:1.3 jobsfolder_add_form.pt:1.3 jobsfolder_view.pt:1.2
Martijn Pieters
mj at zope.com
Thu Jan 31 16:50:07 EST 2002
Update of /cvs-zopeorg/Products/PythonJobs/skins/pyjobs
In directory cvs.zope.org:/tmp/cvs-serv29325/skins/pyjobs
Modified Files:
job_edit_form.pt jobsfolder_add_form.pt jobsfolder_view.pt
Log Message:
=== Products/PythonJobs/skins/pyjobs/job_edit_form.pt 1.2 => 1.3 ===
<th class="TextField"> Skills </th>
<td class="TextField">
- <input type="hidden" name="skills:tuple:default" value="">
+ <input type="hidden" name="skills:list:default" value="">
<select name="skills:list" multiple>
<option value="Python"
tal:repeat="skill here/job_listSkills"
tal:attributes="value skill;
- selected python: skill in skills;
- "
+ selected python: (skill in skills) and 'selected';"
tal:content="skill"
> Python </option>
<option value="Zope" tal:condition="nothing"> Zope </option>
=== Products/PythonJobs/skins/pyjobs/jobsfolder_add_form.pt 1.2 => 1.3 ===
country request/country | nothing;
job_title request/job_title | nothing;
- skills python: ();
+ skills python: request.get('skills', []);
contact_email request/contact_email | nothing;
- publish_contact_email python: 1;
+ publish_contact_email python: request.get('publish_contact_email', 1);
salary request/salary | nothing;
expires python: ( here.ZopeTime() + 30 ).Date();
description request/description | nothing;
=== Products/PythonJobs/skins/pyjobs/jobsfolder_view.pt 1.1.1.1 => 1.2 ===
tal:define="jobs python:here.portal_catalog( Type='Job Listing' )">
- <h3> Current Listings <a href="jobsfolder_add_form">Add a Listing</a> </h3>
+ <h3> Current Listings
+ <a href="jobsfolder_add_form"
+ tal:attributes="href string:${here/absolute_url}/jobsfolder_add_form">Add a Listing</a> </h3>
<dl tal:repeat="job jobs">
<dt>
More information about the zopeorg-checkins
mailing list