source: WAeUP_SRP/trunk/patches/zmi/qc_edit.zpt @ 15185

Last change on this file since 15185 was 2274, checked in by joachim, 17 years ago

add "update removal immediatly" again

File size: 3.8 KB
Line 
1<h1 tal:replace="structure here/manage_page_header">Header</h1>
2<h1 tal:replace="structure here/manage_tabs">Tabs</h1>
3
4<p class="form-help">
5  Edit the properties of this ZCatalog Queue on this form
6</p>
7
8<form action="manage_edit">
9
10  <table cellspacing="0" cellpadding="3">
11
12    <tr tal:condition="not: nothing">
13      <td align="left" valign="top" class="form-label">
14        Enable Bypass
15      </td>
16      <td align="left" valign="top" colspan="3">
17        <input type="checkbox" name="enable_bypass"
18               tal:attributes="checked here/getBypassQueue" />
19      </td>
20    </tr>
21    <tr>
22      <td align="left" valign="top"><div class="form-optional">
23        Title
24      </div></td>
25      <td align="left" valign="top" colspan="3">
26        <input type="text" name="title" size="40"
27               tal:attributes="value here/getTitle" />
28      </td>
29    </tr>
30
31    <tr>
32      <td align="left" valign="top" class="form-label">
33        Catalog location
34      </td>
35      <td align="left" valign="top" colspan="3">
36        <input name="location" size="40"
37               tal:attributes="value here/manage_getLocation" />
38      </td>
39    </tr>
40
41    <tr tal:define="indexes here/getIndexInfo" tal:condition="indexes">
42      <td align="left" valign="top"><div class="form-optional">
43         Indexes to update immediately
44      </td>
45      <td align="left" valign="top" colspan="3">
46
47<select name="immediate_indexes:list" multiple="multiple"
48  tal:define="immediate_indexes here/getImmediateIndexes">
49<option tal:repeat="index_info indexes"
50  tal:attributes="value index_info/id; selected python:
51  index_info['id'] in immediate_indexes"
52  tal:content="string: ${index_info/id} (${index_info/meta_type})"></option>
53</select>
54
55      </td>
56    </tr>
57
58    <tr>
59      <td align="left" valign="top" class="form-label">
60        Process removal events immediately
61      </td>
62      <td align="left" valign="top" colspan="3">
63        <input type="checkbox" name="immediate_removal"
64               tal:attributes="checked here/getImmediateRemoval" />
65      </td>
66    </tr>
67
68    <tr>
69      <td align="left" valign="top" class="form-label">
70        Update metadata immediately
71      </td>
72      <td align="left" valign="top" colspan="3">
73        <input type="checkbox" name="immediate_metadata"
74               tal:attributes="checked here/getImmediateMetadataUpdate" />
75      </td>
76    </tr>
77
78    <tr>
79      <td align="left" valign="top" class="form-label">
80        Process all indexes during queue (as opposed to only the
81        non-immediate ones)
82      </td>
83      <td align="left" valign="top" colspan="3">
84        <input type="checkbox" name="all_indexes"
85               tal:attributes="checked here/getProcessAllIndexes" />
86      </td>
87    </tr>
88
89    <tr>
90      <td align="left" valign="top" class="form-label">
91        Bucket count
92      </td>
93      <td align="left" valign="top" colspan="3">
94        <input type="text" name="bucket_count"
95               tal:attributes="value here/getBucketCount" />
96      </td>
97    </tr>
98
99    <tr>
100      <td align="left" valign="top" class="form-label">
101        Conflict handling policy
102      </td>
103      <td align="left" valign="top" colspan="3">
104        <select name="conflict_policy:int"
105                tal:define="policy here/getConflictPolicy">
106          <option value="0"
107                  tal:attributes="selected python: policy == 0">
108            Safe policy (old default policy)
109          </option>
110          <option value="1"
111                  tal:attributes="selected python: policy == 1">
112            Conflict-averse policy
113          </option>
114        </select>
115      </td>
116    </tr>
117
118    <tr>
119      <td>&nbsp;</td>
120      <td colspan="3">
121        <br>
122        <input type="submit" name="submit" value="Save Changes">
123      </td>
124    </tr>
125
126  </table>
127
128</form>
129
130<h1 tal:replace="structure here/manage_page_footer">Footer</h1>
Note: See TracBrowser for help on using the repository browser.