Changeset 9542 for trunk/trac/ticket/templates
- Timestamp:
- Apr 25, 2010, 1:48:26 AM (14 years ago)
- Location:
- trunk/trac/ticket/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/trac/ticket/templates/ticket.html
r9337 r9542 89 89 <py:when test="version is None" /> 90 90 <py:when test="version == 0"> 91 — at <a href="#comment:description">Initial Version</a>91 — <i18n:msg>at <a href="#comment:description">Initial Version</a></i18n:msg> 92 92 </py:when> 93 93 <py:otherwise> 94 — at <a href="#comment:$version">Version $version</a>94 — <i18n:msg params="version">at <a href="#comment:$version">Version $version</a></i18n:msg> 95 95 </py:otherwise> 96 96 </py:choose> -
trunk/trac/ticket/templates/ticket_change.html
r9328 r9542 17 17 <strong>${field.label}</strong> 18 18 <py:choose> 19 <py:when test="field_name == 'attachment'"> 19 <py:when test="field_name == 'attachment'"><i18n:msg params="name"> 20 20 <a href="${href.attachment('ticket', ticket.id, field.new)}"><em>${field.new}</em></a> 21 21 <a href="${href('raw-attachment', 'ticket', ticket.id, field.new)}" 22 22 title="Download" class="trac-rawlink"><img src="${chrome.htdocs_location}download.png" alt="Download"/></a> 23 23 added 24 </ py:when>24 </i18n:msg></py:when> 25 25 <py:when test="'rendered' in field">${field.rendered}</py:when> 26 <py:when test="field.old and field.new"> 26 <py:when test="field.old and field.new"><i18n:msg params="old, new"> 27 27 changed from <em>${field.old}</em> to <em>${field.new}</em> 28 </ py:when>29 <py:when test="not field.old and field.new"> 28 </i18n:msg></py:when> 29 <py:when test="not field.old and field.new"><i18n:msg params="value"> 30 30 set to <em>${field.new}</em> 31 </ py:when>32 <py:otherwise> 31 </i18n:msg></py:when> 32 <py:otherwise><i18n:msg params="value"> 33 33 <em>${field.old}</em> deleted 34 </ py:otherwise>34 </i18n:msg></py:otherwise> 35 35 </py:choose> 36 36 </li>
Note:
See TracChangeset
for help on using the changeset viewer.