Mercurial > p > roundup > code
comparison templates/classic/html/page.html @ 2273:c77483d2cda4
merge from maint-0-7
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 10 May 2004 00:42:49 +0000 |
| parents | 638600b0d682 |
| children | 35b4435d2ef2 5cc6e1d295e1 |
comparison
equal
deleted
inserted
replaced
| 2264:9b34f41507ed | 2273:c77483d2cda4 |
|---|---|
| 113 | 113 |
| 114 </body> | 114 </body> |
| 115 </html> | 115 </html> |
| 116 </tal:block> | 116 </tal:block> |
| 117 | 117 |
| 118 <!-- | |
| 119 The following macros are intended to be used in search pages. | |
| 120 | |
| 121 The invoking context must define a "name" variable which names the | |
| 122 property being searched. | |
| 123 | |
| 124 See issue.search.html in the classic template for examples. | |
| 125 --> | |
| 118 <td metal:define-macro="search_input"> | 126 <td metal:define-macro="search_input"> |
| 119 <input tal:attributes="value python:request.form.getvalue(name) or nothing; | 127 <input tal:attributes="value python:request.form.getvalue(name) or nothing; |
| 120 name name"> | 128 name name"> |
| 129 </td> | |
| 130 | |
| 131 <td metal:define-macro="search_popup"> | |
| 132 <!-- | |
| 133 context needs to specify the popup "columns" as a comma-separated | |
| 134 string (eg. "id,title" or "id,name,description") as well as name | |
| 135 --> | |
| 136 <input tal:attributes="value python:request.form.getvalue(name) or nothing; | |
| 137 name name"> | |
| 138 <span tal:replace="structure python:db.issue.classhelp(columns, | |
| 139 property=name)" /> | |
| 121 </td> | 140 </td> |
| 122 | 141 |
| 123 <td metal:define-macro="search_select"> | 142 <td metal:define-macro="search_select"> |
| 124 <select tal:attributes="name name" | 143 <select tal:attributes="name name" |
| 125 tal:define="value python:request.form.getvalue(name)"> | 144 tal:define="value python:request.form.getvalue(name)"> |
