[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_edit_form.pt:1.16
Ken Manheimer
klm@zope.com
Fri, 14 Dec 2001 20:51:25 -0500
Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv5895
Modified Files:
collector_edit_form.pt
Log Message:
Incorporating mechanism to include specific email addresses among
destinations for all notifications per issue state.
Added section for setting the email addresses per state.
Also, refined the composite sections - the issue categorization
section, now called "Selections", and the state email "Notifications"
one - to more clearly group the items.
=== CMF/CMFCollector/skins/collector/collector_edit_form.pt 1.15 => 1.16 ===
</td>
</tr>
-
+
+ <tr>
+ <th> Notifications </th>
+ <td colspan="3">
+ <font color="gray">
+ Fill in addresses next to the state names to have notifications for
+ issues in that state sent to those addresses (this is in addition to
+ normal issue-participant notifications):
+ </font>
+ <td>
+ </tr>
+
+ <tbody tal:define="states here/issue_states;
+ stateslen python: len(states)"
+ tal:repeat="itemnum python: range((stateslen+1)/2)">
+ <tr tal:define="index repeat/itemnum/index;
+ evennum python: index * 2;
+ oddnum python: evennum+1"
+ tal:condition="python: evennum < stateslen">
+ <td align="right">
+ <em> <span tal:replace="python: states[evennum]">State:</span> </em>
+ </td>
+ <td>
+ <input type="text" size="30" name="stateemail" value=""
+ tal:attributes="name python: 'state_email.' + states[evennum]
+ + ':record';
+ value python:
+ here.state_email.get(states[evennum], '')">
+ </td>
+ <td align="right"
+ tal:condition="python: oddnum < stateslen">
+ <em> <span tal:replace="python: states[oddnum]">State:</span> </em>
+ </td>
+ <td tal:condition="python: oddnum < stateslen">
+ <input type="text" size="30" name="stateemail"
+ tal:attributes="name python: 'state_email.' + states[oddnum]
+ + ':record';
+ value python:
+ here.state_email.get(states[oddnum], '')">
+ </td>
+ </tr>
+ </tbody>
+
+ <tr>
+ <th> Selections </th>
+ <td colspan="3">
+ <font color="gray">
+ Fill in the alternatives for issue categorization:
+ </font>
+ <td>
+ </tr>
+
<tr valign="top">
- <th align="right"> Topics
- </th>
+ <td align="right"> <em> Topics </em>
+ </td>
<td>
<textarea name="topics:lines" rows="5" cols="15">
<span tal:repeat="it here/topics|nothing" tal:replace="it"></span></textarea>
</td>
- <th align="right"> Classifications
- </th>
+ <td align="right"> <em> Classifications </em>
+ </td>
<td>
<textarea name="classifications:lines" rows="5" cols="15">
<span tal:repeat="it here/classifications|nothing" tal:replace="it">
@@ -189,8 +240,8 @@
</tr>
<tr valign="top">
- <th align="right"> Importance
- </th>
+ <td align="right"> <em> Importance </em>
+ </td>
<td>
<textarea name="importances:lines" rows="5" cols="15">
<span tal:repeat="it here/importances|nothing" tal:replace="it">
@@ -238,35 +289,8 @@
</td>
</tr>
</table>
+
</form>
</div>
</body>
</html>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-