Mercurial > p > roundup > code
diff share/roundup/templates/devel/html/page.html @ 4466:f1fe6fd0aa61
Multilinks can be filtered by combining elements with AND, OR and NOT now.
A javascript gui was added for "keywords", see issue2550648.
Developed by Sascha Teichmann; funded by Intevation. (Bernhard Reiter)
| author | Bernhard Reiter <Bernhard.Reiter@intevation.de> |
|---|---|
| date | Mon, 08 Nov 2010 16:21:02 +0000 |
| parents | b419f29b1e2f |
| children | 97b6ff11571b |
line wrap: on
line diff
--- a/share/roundup/templates/devel/html/page.html Fri Nov 05 13:17:18 2010 +0000 +++ b/share/roundup/templates/devel/html/page.html Mon Nov 08 16:21:02 2010 +0000 @@ -307,6 +307,20 @@ </select> </td> +<td metal:define-macro="search_select_keywords"> + <select tal:attributes="name name; id name" + tal:define="value python:request.form.getvalue(name)"> + <option value="" i18n:translate="">don't care</option> + <metal:slot define-slot="extra_options" /> + <option value="" i18n:translate="" disabled="disabled">------------</option> + <option tal:repeat="s python:db[db_klass].list()" + tal:attributes="value s/id; selected python:value == s.id" + tal:content="python:s[db_content]"></option> + </select> + <a class="classhelp" + tal:attributes="href python:'''javascript:help_window('task?@template=&property=%s&form=itemSynopsis', 300, 200)'''%name">(edit)</a> +</td> + <!-- like search_select, but translates the further values. Could extend it (METAL 1.1 attribute "extend-macro") -->
