Author: rjollos
Date: Thu Aug 8 05:19:36 2013
New Revision: 1511585
URL: http://svn.apache.org/r1511585
Log:
Show ticket version in the title heading. Refs #621.
Patch by Olemis.
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1511585&r1=1511584&r2=1511585&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Thu Aug
8 05:19:36 2013
@@ -329,7 +329,17 @@
<h5 id="trac-ticket-title" py:choose="">
<py:when test="t.exists">
<a href="${href.ticket(t.id)}"
- i18n:msg="id">Ticket #${t.id}</a> -
+ i18n:msg="id">Ticket #${t.id}</a>
+ <py:if test="version is not None" />
+ <py:choose test="">
+ <py:when test="version == 0">
+ <i18n:msg>at <a href="#comment:description">Initial
Version</a></i18n:msg>
+ </py:when>
+ <py:otherwise>
+ <i18n:msg params="version">at <a
href="#comment:$version">Version $version</a></i18n:msg>
+ </py:otherwise>
+ </py:choose>
+ </py:if> —
</py:when>
<py:otherwise>
New Ticket <small><span py:if="preview_mode and t.type"
class="status">(${t.type})</span></small>