Mercurial > p > roundup > code
comparison templates/classic/html/query.edit.html @ 3518:7fb8cfe3c737
enable editing of public queries [SF#966144]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 27 Jan 2006 03:30:39 +0000 |
| parents | 97f810f39d16 |
| children | 00896a2acaa5 |
comparison
equal
deleted
inserted
replaced
| 3516:fe75b55fc49d | 3518:7fb8cfe3c737 |
|---|---|
| 85 tal:repeat="query queries"> | 85 tal:repeat="query queries"> |
| 86 <td><a tal:attributes="href string:${query/klass}?${query/url}" | 86 <td><a tal:attributes="href string:${query/klass}?${query/url}" |
| 87 tal:content="query/name">query</a></td> | 87 tal:content="query/name">query</a></td> |
| 88 | 88 |
| 89 <td metal:use-macro="template/macros/include" /> | 89 <td metal:use-macro="template/macros/include" /> |
| 90 <td colspan="3" i18n:translate="">[not yours to edit]</td> | 90 |
| 91 <td colspan="3" tal:condition="query/is_edit_ok"> | |
| 92 <a tal:attributes="href string:query${query/id}" i18n:translate="">edit</a> | |
| 93 </td> | |
| 94 <td tal:condition="not:query/is_edit_ok" colspan="3" | |
| 95 i18n:translate="">[not yours to edit]</td> | |
| 96 | |
| 91 </tr> | 97 </tr> |
| 92 | 98 |
| 93 <tr><td colspan="5"> | 99 <tr><td colspan="5"> |
| 94 <input type="hidden" name="@action" value="edit"> | 100 <input type="hidden" name="@action" value="edit"> |
| 95 <input type="hidden" name="@template" value="edit"> | 101 <input type="hidden" name="@template" value="edit"> |
| 96 <input type="submit" value="Save Selection" i18n:attributes="value"> | 102 <input type="submit" value="Save Selection" i18n:attributes="value"> |
| 97 </td></tr> | 103 </td></tr> |
| 98 | 104 |
| 99 </table> | 105 </table> |
| 100 | 106 |
| 101 </form> | 107 </form> |
