[Checkins] SVN: Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/ - replaced 'here' by 'context'
Yvo Schubbe
cvs-admin at zope.org
Mon Jul 23 07:21:32 UTC 2012
Log message for revision 127364:
- replaced 'here' by 'context'
Changed:
U Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/friendlydatec_editform.pt
U Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/listc_edit.pt
U Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/sic_edit.pt
U Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/sort_edit.pt
U Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/ssc_edit.pt
-=-
Modified: Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/friendlydatec_editform.pt
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/friendlydatec_editform.pt 2012-07-22 13:37:46 UTC (rev 127363)
+++ Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/friendlydatec_editform.pt 2012-07-23 07:21:16 UTC (rev 127364)
@@ -2,16 +2,16 @@
<tr>
<td width="20">
<input type="checkbox" value="" name="criterion_ids:list" id=""
- tal:attributes="value here/getId; id string:cb_${here/getId}" />
+ tal:attributes="value context/getId; id string:cb_${context/getId}" />
</td>
<td align="left">
- <label for="" tal:attributes="for string:cb_${here/getId}">
- <strong title="" tal:attributes="title here/Description"
+ <label for="" tal:attributes="for string:cb_${context/getId}">
+ <strong title="" tal:attributes="title context/Description"
>"Friendly" Date:</strong>
- <tt tal:content="here/Field">Field</tt>
+ <tt tal:content="context/Field">Field</tt>
</label>
<input type="hidden" name="criteria.id:records" value=""
- tal:attributes="value here/getId" />
+ tal:attributes="value context/getId" />
</td>
</tr>
<tr valign="top">
@@ -19,36 +19,35 @@
<td>
<select name="criteria.operation:records">
<option value="min"
- tal:attributes="selected python:here.operation=='min'"
+ tal:attributes="selected python: context.operation=='min'"
>More than</option>
<option value="max"
- tal:attributes="selected python:here.operation=='max'"
+ tal:attributes="selected python: context.operation=='max'"
>Less than</option>
<option value="within_day"
- tal:attributes="selected python:here.operation=='within_day'"
+ tal:attributes="selected python: context.operation=='within_day'"
>On the day</option>
</select>
<select name="criteria.value:records"
- tal:define="dateoptions here/defaultDateOptions">
+ tal:define="dateoptions context/defaultDateOptions">
<option value=""
tal:repeat="doption dateoptions"
- tal:attributes="value python:doption[0];
- selected python:here.value == doption[0];
+ tal:attributes="value python: doption[0];
+ selected python: context.value == doption[0];
"
- tal:content="python:doption[1]"
+ tal:content="python: doption[1]"
>Date Option</option>
</select>
<select name="criteria.daterange:records">
<option value="old"
- tal:attributes="selected python:here.daterange == 'old'"
+ tal:attributes="selected python: context.daterange == 'old'"
>ago</option>
<option value="ahead"
- tal:attributes="selected python:here.daterange == 'ahead'"
+ tal:attributes="selected python: context.daterange == 'ahead'"
>ahead</option>
</select>
</td>
</tr>
</table>
-
Modified: Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/listc_edit.pt
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/listc_edit.pt 2012-07-22 13:37:46 UTC (rev 127363)
+++ Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/listc_edit.pt 2012-07-23 07:21:16 UTC (rev 127364)
@@ -2,15 +2,16 @@
<tr>
<td width="20">
<input type="checkbox" value="" name="criterion_ids:list" id=""
- tal:attributes="value here/getId; id string:cb_${here/getId}" />
+ tal:attributes="value context/getId; id string:cb_${context/getId}" />
</td>
<td align="left">
- <label for="" tal:attributes="for string:cb_${here/getId}">
- <strong title="" tal:attributes="title here/Description">List:</strong>
- <tt tal:content="here/Field">Field</tt>
+ <label for="" tal:attributes="for string:cb_${context/getId}">
+ <strong title="" tal:attributes="title context/Description"
+ >List:</strong>
+ <tt tal:content="context/Field">Field</tt>
</label>
<input type="hidden" name="criteria.id:records" value=""
- tal:attributes="value here/getId" />
+ tal:attributes="value context/getId" />
</td>
</tr>
<tr valign="top">
@@ -18,18 +19,17 @@
<td valign="top">
<strong>Value:</strong><br />
<textarea name="criteria.value:lines:records" rows="5" cols="40"
- tal:content="python:modules['string'].join(here.value, '\n')"
+ tal:content="python: modules['string'].join(context.value, '\n')"
></textarea><br />
<strong>Operator:</strong><br />
<select name="criteria.operator:records">
<option value=""
- tal:attributes="selected not: here/operator">-- none --</option>
+ tal:attributes="selected not: context/operator">-- none --</option>
<option value="or"
- tal:attributes="selected python:here.operator == 'or'">or</option>
- <option value="and"
- tal:attributes="selected python:here.operator == 'and'">and</option>
+ tal:attributes="selected python: context.operator == 'or'">or</option>
+ <option value="and"
+ tal:attributes="selected python: context.operator == 'and'">and</option>
</select>
</td>
</tr>
</table>
-
Modified: Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/sic_edit.pt
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/sic_edit.pt 2012-07-22 13:37:46 UTC (rev 127363)
+++ Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/sic_edit.pt 2012-07-23 07:21:16 UTC (rev 127364)
@@ -2,19 +2,16 @@
<tr>
<td width="20">
<input type="checkbox" value="" name="criterion_ids:list" id=""
- tal:attributes="value here/getId;
- id string:cb_${here/getId};
- " />
+ tal:attributes="value context/getId; id string:cb_${context/getId}" />
</td>
<td align="left">
- <label for=""
- tal:attributes="for string:cb_${here/getId}">
- <strong title=""
- tal:attributes="title here/Description">Integer:</strong>
- <tt tal:content="here/Field">Field</tt>
+ <label for="" tal:attributes="for string:cb_${context/getId}">
+ <strong title="" tal:attributes="title context/Description"
+ >Integer:</strong>
+ <tt tal:content="context/Field">Field</tt>
</label>
<input type="hidden" name="criteria.id:records" value=""
- tal:attributes="value here/getId" />
+ tal:attributes="value context/getId" />
</td>
</tr>
<tr>
@@ -22,7 +19,7 @@
<td>
<strong>Value:</strong>
<input type="text" name="criteria.value:records" value="" size="40"
- tal:attributes="value here/getValueString" />
+ tal:attributes="value context/getValueString" />
</td>
</tr>
<tr>
@@ -30,29 +27,28 @@
<td>
<strong>Direction:</strong>
<input type="radio" name="" value="min" id=""
- tal:attributes="checked python:here.direction=='min';
- id string:${here/getId}_min;
- name string:criteria.direction__${here/getId}:records;
+ tal:attributes="checked python: context.direction=='min';
+ id string:${context/getId}_min;
+ name string:criteria.direction__${context/getId}:records;
" />
<label for=""
- tal:attributes="for string:${here/getId}_min">Minimum</label>
+ tal:attributes="for string:${context/getId}_min">Minimum</label>
<input type="radio" name="" value="max" id=""
- tal:attributes="checked python:here.direction=='max';
- id string:${here/getId}_max;
- name string:criteria.direction__${here/getId}:records;
+ tal:attributes="checked python: context.direction=='max';
+ id string:${context/getId}_max;
+ name string:criteria.direction__${context/getId}:records;
" />
<label for=""
- tal:attributes="for string:${here/getId}_max">Maximum</label>
+ tal:attributes="for string:${context/getId}_max">Maximum</label>
<input type="radio" name="" value="min:max" id=""
- tal:attributes="checked python:here.direction=='min:max';
- id string:${here/getId}_minmax;
- name string:criteria.direction__${here/getId}:records;
+ tal:attributes="checked python: context.direction=='min:max';
+ id string:${context/getId}_minmax;
+ name string:criteria.direction__${context/getId}:records;
" />
<label for=""
- tal:attributes="for string:${here/getId}_minmax">Min/Max</label>
+ tal:attributes="for string:${context/getId}_minmax">Min/Max</label>
</td>
</tr>
</table>
-
Modified: Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/sort_edit.pt
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/sort_edit.pt 2012-07-22 13:37:46 UTC (rev 127363)
+++ Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/sort_edit.pt 2012-07-23 07:21:16 UTC (rev 127364)
@@ -2,23 +2,25 @@
<tr>
<td width="20">
<input type="checkbox" value="" name="criterion_ids:list" id=""
- tal:attributes="value here/getId; id string:cb_${here/getId}" />
+ tal:attributes="value context/getId; id string:cb_${context/getId}" />
</td>
<td align="left">
- <label for=""
- tal:attributes="for string:cb_${here/getId}">
- <strong title="" tal:attributes="title here/Description;">Sort:</strong>
- <tt tal:content="here/Field">Field</tt>
+ <label for="" tal:attributes="for string:cb_${context/getId}">
+ <strong title="" tal:attributes="title context/Description"
+ >Sort:</strong>
+ <tt tal:content="context/Field">Field</tt>
</label>
- <input type="hidden" name="criteria.id:records" value="" tal:attributes="value here/getId" />
+ <input type="hidden" name="criteria.id:records" value=""
+ tal:attributes="value context/getId" />
</td>
</tr>
<tr>
<td width="20"> </td>
- <td><strong>Reversed?</strong>
- <input type="hidden" name="criteria.reversed::int:default:records" value="0" />
- <input type="checkbox" name="criteria.reversed:records" value="1"
- tal:attributes="checked here/reversed"/>
+ <td>
+ <strong>Reversed?</strong>
+ <input type="hidden" name="criteria.reversed::int:default:records" value="0" />
+ <input type="checkbox" name="criteria.reversed:records" value="1"
+ tal:attributes="checked context/reversed"/>
</td>
</tr>
</table>
Modified: Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/ssc_edit.pt
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/ssc_edit.pt 2012-07-22 13:37:46 UTC (rev 127363)
+++ Products.CMFTopic/trunk/Products/CMFTopic/skins/zpt_topic/ssc_edit.pt 2012-07-23 07:21:16 UTC (rev 127364)
@@ -1,33 +1,25 @@
<table border="0" cellpadding="0" cellspacing="2" class="FormLayout">
-<tr>
- <td width="20">
- <input type="checkbox" value="" name="criterion_ids:list" id=""
- tal:attributes="value here/getId; id string:cb_${here/getId}"/>
- </td>
- <td align="left">
- <label for=""
- tal:attributes="for string:cb_${here/getId}">
- <strong title=""
- tal:attributes="title here/Description">
- String:
- </strong>
- <tt
- tal:content="here/Field">
- Field
- </tt>
- </label>
- <input type="hidden" name="criteria.id:records" value=""
- tal:attributes="value here/getId"/>
- </td>
-</tr>
-<tr>
- <td width="20"> </td>
- <td>
- <strong>Value:</strong>
- <input type="text" name="criteria.value:records"
- value="" size="40"
- tal:attributes="value here/value | nothing" />
- </td>
-</tr>
+ <tr>
+ <td width="20">
+ <input type="checkbox" value="" name="criterion_ids:list" id=""
+ tal:attributes="value context/getId; id string:cb_${context/getId}" />
+ </td>
+ <td align="left">
+ <label for="" tal:attributes="for string:cb_${context/getId}">
+ <strong title="" tal:attributes="title context/Description"
+ >String:</strong>
+ <tt tal:content="context/Field">Field</tt>
+ </label>
+ <input type="hidden" name="criteria.id:records" value=""
+ tal:attributes="value context/getId" />
+ </td>
+ </tr>
+ <tr>
+ <td width="20"> </td>
+ <td>
+ <strong>Value:</strong>
+ <input type="text" name="criteria.value:records" value="" size="40"
+ tal:attributes="value context/value | nothing" />
+ </td>
+ </tr>
</table>
-
More information about the checkins
mailing list