Ticket #7759: attachment.patch
| File attachment.patch, 932 bytes (added by guy@…, 2 years ago) |
|---|
-
trac/templates/attachment.html
8 8 <xi:include href="layout.html" /> 9 9 <xi:include href="macros.html" /> 10 10 <head> 11 <title>Attachment</title> 11 <title py:with="parent = attachments and attachments.parent or 12 attachment.resource.parent" 13 py:choose="mode"> 14 <py:when test="'new'">${name_of(parent)} - Attachment</py:when> 15 <py:when test="'list'">${name_of(parent)} - Attachments</py:when> 16 <py:otherwise>${attachment.filename + ' - ' + name_of(parent)} - Attachment</py:otherwise> 17 </title> 12 18 <py:if test="preview"> 13 19 <script type="text/javascript" src="${chrome.htdocs_location}js/folding.js"></script> 14 20 <script type="text/javascript">
