Skip to content

Commit 1fcf8d6

Browse files
author
Alexander Smishlajev
committed
add "Make a copy" link
1 parent c5d2dd3 commit 1fcf8d6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

templates/classic/html/issue.item.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,14 @@
9494
<input type="hidden" name="@template" value="item">
9595
<input type="hidden" name="@required" value="title,priority">
9696
</td>
97-
<td colspan=3 tal:content="structure context/submit">
98-
submit button will go here
97+
<td colspan=3>
98+
<span tal:replace="structure context/submit">submit button</span>
99+
<a tal:condition="context/id" tal:attributes="href context/copy_url"
100+
i18n:translate="">Make a copy</a>
99101
</td>
100102
</tr>
101103

102104
</table>
103-
104105
</form>
105106

106107
<tal:block tal:condition="not:context/id" i18n:translate="">

0 commit comments

Comments
 (0)