Code

Multilinks can be filtered by combining elements with AND, OR and NOT
[roundup.git] / share / roundup / templates / devel / html / page.html
index 339c0bd8e0c5925d43167517d1df297a65e51e7b..fcbf0afa9dab58364b120bc2bbf243d48692c66f 100644 (file)
@@ -307,6 +307,20 @@ See issue.search.html in the classic template for examples.
   </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")
 -->