source: WAeUP_SRP/base/zmi/qc_edit.zpt @ 2268

Last change on this file since 2268 was 2259, checked in by joachim, 17 years ago

new feature bypass catalog_queue

File size: 3.5 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
59    <tr>
60      <td align="left" valign="top" class="form-label">
61        Update metadata immediately
62      </td>
63      <td align="left" valign="top" colspan="3">
64        <input type="checkbox" name="immediate_metadata"
65               tal:attributes="checked here/getImmediateMetadataUpdate" />
66      </td>
67    </tr>
68
69    <tr>
70      <td align="left" valign="top" class="form-label">
71        Process all indexes during queue (as opposed to only the
72        non-immediate ones)
73      </td>
74      <td align="left" valign="top" colspan="3">
75        <input type="checkbox" name="all_indexes"
76               tal:attributes="checked here/getProcessAllIndexes" />
77      </td>
78    </tr>
79
80    <tr>
81      <td align="left" valign="top" class="form-label">
82        Bucket count
83      </td>
84      <td align="left" valign="top" colspan="3">
85        <input type="text" name="bucket_count"
86               tal:attributes="value here/getBucketCount" />
87      </td>
88    </tr>
89
90    <tr>
91      <td align="left" valign="top" class="form-label">
92        Conflict handling policy
93      </td>
94      <td align="left" valign="top" colspan="3">
95        <select name="conflict_policy:int"
96                tal:define="policy here/getConflictPolicy">
97          <option value="0"
98                  tal:attributes="selected python: policy == 0">
99            Safe policy (old default policy)
100          </option>
101          <option value="1"
102                  tal:attributes="selected python: policy == 1">
103            Conflict-averse policy
104          </option>
105        </select>
106      </td>
107    </tr>
108
109    <tr>
110      <td>&nbsp;</td>
111      <td colspan="3">
112        <br>
113        <input type="submit" name="submit" value="Save Changes">
114      </td>
115    </tr>
116
117  </table>
118
119</form>
120
121<h1 tal:replace="structure here/manage_page_footer">Footer</h1>
Note: See TracBrowser for help on using the repository browser.