Mercurial > p > roundup > code
diff templates/classic/html/issue.item.html @ 3511:8fc73650925f
add "Make a copy" link
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Thu, 26 Jan 2006 10:00:38 +0000 |
| parents | 460eb0209a9e |
| children | b2cff3b9e582 |
line wrap: on
line diff
--- a/templates/classic/html/issue.item.html Thu Jan 26 09:57:28 2006 +0000 +++ b/templates/classic/html/issue.item.html Thu Jan 26 10:00:38 2006 +0000 @@ -94,13 +94,14 @@ <input type="hidden" name="@template" value="item"> <input type="hidden" name="@required" value="title,priority"> </td> - <td colspan=3 tal:content="structure context/submit"> - submit button will go here + <td colspan=3> + <span tal:replace="structure context/submit">submit button</span> + <a tal:condition="context/id" tal:attributes="href context/copy_url" + i18n:translate="">Make a copy</a> </td> </tr> </table> - </form> <tal:block tal:condition="not:context/id" i18n:translate="">
