Mercurial > p > roundup > code
comparison website/issues/html/issue.search.html @ 4024:c2d0d3e9099d website
svn repository setup
| author | Stefan Seefeld <stefan@users.sourceforge.net> |
|---|---|
| date | Fri, 06 Feb 2009 13:16:31 +0000 |
| parents | |
| children | b051559eaae8 |
comparison
equal
deleted
inserted
replaced
| 4023:86c38b5aed66 | 4024:c2d0d3e9099d |
|---|---|
| 1 <tal:block metal:use-macro="templates/page/macros/icing"> | |
| 2 <title metal:fill-slot="head_title" i18n:translate="">Issue searching - <span | |
| 3 i18n:name="tracker" tal:replace="config/TRACKER_NAME" /></title> | |
| 4 <span metal:fill-slot="body_title" tal:omit-tag="python:1" | |
| 5 i18n:translate="">Issue searching</span> | |
| 6 <td class="content" metal:fill-slot="content"> | |
| 7 | |
| 8 <form method="get" name="itemSynopsis" | |
| 9 tal:attributes="action request/classname"> | |
| 10 | |
| 11 <table class="form" tal:define=" | |
| 12 cols python:request.columns or 'id activity title status assignedto'.split(); | |
| 13 sort_on python:request.sort and request.sort[0] or nothing; | |
| 14 sort_desc python:sort_on and sort_on[0] == '-'; | |
| 15 sort_on python:(sort_on and sort_on[1]) or 'activity'; | |
| 16 group_on python:request.group and request.group[0] or nothing; | |
| 17 group_desc python:group_on and group_on[0] == '-'; | |
| 18 group_on python:(group_on and group_on[1]) or 'priority'; | |
| 19 | |
| 20 search_input templates/page/macros/search_input; | |
| 21 search_date templates/page/macros/search_date; | |
| 22 column_input templates/page/macros/column_input; | |
| 23 sort_input templates/page/macros/sort_input; | |
| 24 group_input templates/page/macros/group_input; | |
| 25 search_select templates/page/macros/search_select; | |
| 26 search_select_translated templates/page/macros/search_select_translated; | |
| 27 search_multiselect templates/page/macros/search_multiselect;"> | |
| 28 | |
| 29 <tr> | |
| 30 <th class="header"> </th> | |
| 31 <th class="header" i18n:translate="">Filter on</th> | |
| 32 <th class="header" i18n:translate="">Display</th> | |
| 33 <th class="header" i18n:translate="">Sort on</th> | |
| 34 <th class="header" i18n:translate="">Group on</th> | |
| 35 </tr> | |
| 36 | |
| 37 <tr tal:define="name string:@search_text"> | |
| 38 <th i18n:translate="">All text*:</th> | |
| 39 <td metal:use-macro="search_input"></td> | |
| 40 <td> </td> | |
| 41 <td> </td> | |
| 42 <td> </td> | |
| 43 </tr> | |
| 44 | |
| 45 <tr tal:define="name string:title"> | |
| 46 <th i18n:translate="">Title:</th> | |
| 47 <td metal:use-macro="search_input"></td> | |
| 48 <td metal:use-macro="column_input"></td> | |
| 49 <td metal:use-macro="sort_input"></td> | |
| 50 <td> </td> | |
| 51 </tr> | |
| 52 | |
| 53 <tr tal:define="name string:id"> | |
| 54 <th i18n:translate="">ID:</th> | |
| 55 <td metal:use-macro="search_input"></td> | |
| 56 <td metal:use-macro="column_input"></td> | |
| 57 <td metal:use-macro="sort_input"></td> | |
| 58 <td> </td> | |
| 59 </tr> | |
| 60 | |
| 61 <tr tal:define="name string:creation"> | |
| 62 <th i18n:translate="">Creation Date:</th> | |
| 63 <td metal:use-macro="search_date"></td> | |
| 64 <td metal:use-macro="column_input"></td> | |
| 65 <td metal:use-macro="sort_input"></td> | |
| 66 <td metal:use-macro="group_input"></td> | |
| 67 </tr> | |
| 68 | |
| 69 <tr tal:define="name string:creator; | |
| 70 db_klass string:user; | |
| 71 db_content string:username;"> | |
| 72 <th i18n:translate="">Creator:</th> | |
| 73 <td metal:use-macro="search_input"> | |
| 74 <option metal:fill-slot="extra_options" i18n:translate="" | |
| 75 tal:attributes="value request/user/id">created by me</option> | |
| 76 </td> | |
| 77 <td metal:use-macro="column_input"></td> | |
| 78 <td metal:use-macro="sort_input"></td> | |
| 79 <td metal:use-macro="group_input"></td> | |
| 80 </tr> | |
| 81 | |
| 82 <tr tal:define="name string:activity"> | |
| 83 <th i18n:translate="">Activity:</th> | |
| 84 <td metal:use-macro="search_date"></td> | |
| 85 <td metal:use-macro="column_input"></td> | |
| 86 <td metal:use-macro="sort_input"></td> | |
| 87 <td> </td> | |
| 88 </tr> | |
| 89 | |
| 90 <tr tal:define="name string:actor; | |
| 91 db_klass string:user; | |
| 92 db_content string:username;"> | |
| 93 <th i18n:translate="">Last actor:</th> | |
| 94 <td metal:use-macro="search_input"> | |
| 95 <option metal:fill-slot="extra_options" i18n:translate="" | |
| 96 tal:attributes="value request/user/id">done by me</option> | |
| 97 </td> | |
| 98 <td metal:use-macro="column_input"></td> | |
| 99 <td metal:use-macro="sort_input"></td> | |
| 100 <td> </td> | |
| 101 </tr> | |
| 102 | |
| 103 <tr tal:define="name string:nosy"> | |
| 104 <th i18n:translate="">Nosy list member:</th> | |
| 105 <td metal:use-macro="search_input"></td> | |
| 106 <td metal:use-macro="column_input"></td> | |
| 107 <td metal:use-macro="sort_input"></td> | |
| 108 <td> </td> | |
| 109 </tr> | |
| 110 | |
| 111 <tr tal:define="name string:type; | |
| 112 db_klass string:issue_type; | |
| 113 db_content string:name;"> | |
| 114 <th i18n:translate="">Type:</th> | |
| 115 <td metal:use-macro="search_select_translated"> | |
| 116 <option metal:fill-slot="extra_options" value="-1" i18n:translate="" | |
| 117 tal:attributes="selected python:value == '-1'">not selected</option> | |
| 118 </td> | |
| 119 <td metal:use-macro="column_input"></td> | |
| 120 <td metal:use-macro="sort_input"></td> | |
| 121 <td metal:use-macro="group_input"></td> | |
| 122 </tr> | |
| 123 | |
| 124 <tr tal:define="name string:components; | |
| 125 db_klass string:component; | |
| 126 db_content string:name;"> | |
| 127 <th i18n:translate="">Components:</th> | |
| 128 <td metal:use-macro="search_select_translated"> | |
| 129 <option metal:fill-slot="extra_options" value="-1" i18n:translate="" | |
| 130 tal:attributes="selected python:value == '-1'">not selected</option> | |
| 131 </td> | |
| 132 <td metal:use-macro="column_input"></td> | |
| 133 <td metal:use-macro="sort_input"></td> | |
| 134 <td metal:use-macro="group_input"></td> | |
| 135 </tr> | |
| 136 | |
| 137 <tr tal:define="name string:versions; | |
| 138 db_klass string:version; | |
| 139 db_content string:name;"> | |
| 140 <th i18n:translate="">Versions:</th> | |
| 141 <td metal:use-macro="search_select_translated"> | |
| 142 <option metal:fill-slot="extra_options" value="-1" i18n:translate="" | |
| 143 tal:attributes="selected python:value == '-1'">not selected</option> | |
| 144 </td> | |
| 145 <td metal:use-macro="column_input"></td> | |
| 146 <td metal:use-macro="sort_input"></td> | |
| 147 <td metal:use-macro="group_input"></td> | |
| 148 </tr> | |
| 149 | |
| 150 <!--tr tal:define="name string:severity; | |
| 151 db_klass string:severity; | |
| 152 db_content string:name;"> | |
| 153 <th i18n:translate="">Severity:</th> | |
| 154 <td metal:use-macro="search_select_translated"> | |
| 155 <option metal:fill-slot="extra_options" value="-1" i18n:translate="" | |
| 156 tal:attributes="selected python:value == '-1'">not selected</option> | |
| 157 </td> | |
| 158 <td metal:use-macro="column_input"></td> | |
| 159 <td metal:use-macro="sort_input"></td> | |
| 160 <td metal:use-macro="group_input"></td> | |
| 161 </tr--> | |
| 162 | |
| 163 <tr tal:define="name string:dependencies; | |
| 164 db_klass string:issue; | |
| 165 db_content string:id;"> | |
| 166 <th i18n:translate="">Depends on:</th> | |
| 167 <td metal:use-macro="search_input"/> | |
| 168 <td metal:use-macro="column_input"></td> | |
| 169 <td metal:use-macro="sort_input"></td> | |
| 170 <td metal:use-macro="group_input"></td> | |
| 171 </tr> | |
| 172 | |
| 173 <tr tal:define="name string:assignee; | |
| 174 db_klass string:user; | |
| 175 db_content string:username;"> | |
| 176 <th i18n:translate="">Assigned to:</th> | |
| 177 <td metal:use-macro="search_input"> | |
| 178 <tal:block metal:fill-slot="extra_options"> | |
| 179 <option tal:attributes="value request/user/id" | |
| 180 i18n:translate="">assigned to me</option> | |
| 181 <option value="-1" tal:attributes="selected python:value == '-1'" | |
| 182 i18n:translate="">unassigned</option> | |
| 183 </tal:block> | |
| 184 </td> | |
| 185 <td metal:use-macro="column_input"></td> | |
| 186 <td metal:use-macro="sort_input"></td> | |
| 187 <td metal:use-macro="group_input"></td> | |
| 188 </tr> | |
| 189 | |
| 190 <tr tal:define="name string:keywords; | |
| 191 db_klass string:keyword; | |
| 192 db_content string:name;"> | |
| 193 <th i18n:translate="">Keyword:</th> | |
| 194 <td metal:use-macro="search_select_translated"> | |
| 195 <option metal:fill-slot="extra_options" value="-1" i18n:translate="" | |
| 196 tal:attributes="selected python:value == '-1'">not set</option> | |
| 197 </td> | |
| 198 <td metal:use-macro="column_input"></td> | |
| 199 <td metal:use-macro="sort_input"></td> | |
| 200 <td metal:use-macro="group_input"></td> | |
| 201 </tr> | |
| 202 | |
| 203 <tr tal:define="name string:priority; | |
| 204 db_klass string:priority; | |
| 205 db_content string:name;"> | |
| 206 <th i18n:translate="">Priority:</th> | |
| 207 <td metal:use-macro="search_select_translated"> | |
| 208 <option metal:fill-slot="extra_options" value="-1" i18n:translate="" | |
| 209 tal:attributes="selected python:value == '-1'">not selected</option> | |
| 210 </td> | |
| 211 <td metal:use-macro="column_input"></td> | |
| 212 <td metal:use-macro="sort_input"></td> | |
| 213 <td metal:use-macro="group_input"></td> | |
| 214 </tr> | |
| 215 | |
| 216 <tr tal:define="name string:status; | |
| 217 db_klass string:status; | |
| 218 db_content string:name;"> | |
| 219 <th i18n:translate="">Status:</th> | |
| 220 <td metal:use-macro="search_select_translated"> | |
| 221 <tal:block metal:fill-slot="extra_options"> | |
| 222 <option value="-1,1,2" i18n:translate="" | |
| 223 tal:attributes="selected python:value == '-1,1,2'">not closed</option> | |
| 224 <option value="-1" i18n:translate="" | |
| 225 tal:attributes="selected python:value == '-1'">not selected</option> | |
| 226 </tal:block> | |
| 227 </td> | |
| 228 <td metal:use-macro="column_input"></td> | |
| 229 <td metal:use-macro="sort_input"></td> | |
| 230 <td metal:use-macro="group_input"></td> | |
| 231 </tr> | |
| 232 | |
| 233 <tr tal:define="name string:resolution; | |
| 234 db_klass string:resolution; | |
| 235 db_content string:name;"> | |
| 236 <th i18n:translate="">Resolution:</th> | |
| 237 <td metal:use-macro="search_select_translated"/> | |
| 238 <td metal:use-macro="column_input"></td> | |
| 239 <td metal:use-macro="sort_input"></td> | |
| 240 <td metal:use-macro="group_input"></td> | |
| 241 </tr> | |
| 242 | |
| 243 <tr> | |
| 244 <th i18n:translate="">No Sort or group:</th> | |
| 245 <td> </td> | |
| 246 <td> </td> | |
| 247 <td><input type="radio" name="@sort" value=""/></td> | |
| 248 <td><input type="radio" name="@group" value=""/></td> | |
| 249 </tr> | |
| 250 | |
| 251 <tr> | |
| 252 <th i18n:translate="">Pagesize:</th> | |
| 253 <td><input name="@pagesize" size="3" value="50" | |
| 254 tal:attributes="value request/form/@pagesize/value | default"/></td> | |
| 255 </tr> | |
| 256 | |
| 257 <tr> | |
| 258 <th i18n:translate="">Start With:</th> | |
| 259 <td><input name="@startwith" size="3" value="0" | |
| 260 tal:attributes="value request/form/@startwith/value | default"/></td> | |
| 261 </tr> | |
| 262 | |
| 263 <tr> | |
| 264 <th i18n:translate="">Sort Descending:</th> | |
| 265 <td><input type="checkbox" name="@sortdir" | |
| 266 tal:attributes="checked sort_desc"/> | |
| 267 </td> | |
| 268 </tr> | |
| 269 | |
| 270 <tr> | |
| 271 <th i18n:translate="">Group Descending:</th> | |
| 272 <td><input type="checkbox" name="@groupdir" | |
| 273 tal:attributes="checked group_desc"/> | |
| 274 </td> | |
| 275 </tr> | |
| 276 | |
| 277 <tr tal:condition="python:request.user.hasPermission('Edit', 'query')"> | |
| 278 <th i18n:translate="">Query name**:</th> | |
| 279 <td tal:define="value request/form/@queryname/value | nothing"> | |
| 280 <input name="@queryname" tal:attributes="value value"/> | |
| 281 <input type="hidden" name="@old-queryname" tal:attributes="value value"/> | |
| 282 </td> | |
| 283 </tr> | |
| 284 | |
| 285 <tr> | |
| 286 <td> | |
| 287 | |
| 288 <input type="hidden" name="@action" value="search"/> | |
| 289 </td> | |
| 290 <td><input type="submit" value="Search" i18n:attributes="value"/></td> | |
| 291 </tr> | |
| 292 | |
| 293 <tr><td> </td> | |
| 294 <td colspan="4" class="help"> | |
| 295 <span i18n:translate="" tal:omit-tag="true"> | |
| 296 *: The "all text" field will look in message bodies and issue titles | |
| 297 </span><br> | |
| 298 <span tal:condition="python:request.user.hasPermission('Edit', 'query')" | |
| 299 i18n:translate="" tal:omit-tag="true" | |
| 300 > | |
| 301 **: If you supply a name, the query will be saved off and available as a | |
| 302 link in the sidebar | |
| 303 </span> | |
| 304 </td> | |
| 305 </tr> | |
| 306 </table> | |
| 307 | |
| 308 </form> | |
| 309 </td> | |
| 310 | |
| 311 </tal:block> |
