Author: gjm
Date: Fri Jun 22 13:37:13 2012
New Revision: 1352884
URL: http://svn.apache.org/viewvc?rev=1352884&view=rev
Log:
theme: extending the sticky region to add more details to the sticky region -
towards #93 (from olemis)
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1352884&r1=1352883&r2=1352884&view=diff
==============================================================================
---
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
(original)
+++
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
Fri Jun 22 13:37:13 2012
@@ -134,6 +134,21 @@
Create New Ticket <small><span py:if="preview_mode and
ticket.type" class="status">(${ticket.type})</span></small>
</py:otherwise>
</h1>
+ <h6 class="date">
+ <span i18n:msg="created" py:if="ticket.exists">Opened
${pretty_dateinfo(ticket.time)}</span>
+ <py:if test="ticket.changetime != ticket.time">,
+ <span i18n:msg="modified">Last modified
${pretty_dateinfo(ticket.changetime)}</span>
+ </py:if>
+ <span py:if="not ticket.exists" class="label
label-warning">(ticket not yet created)</span>
+ </h6>
+ <h6>
+ <span id="h_reporter">Reported by
+ ${reporter_link if defined('reporter_link') else
authorinfo(ticket.reporter)}
+ </span>,
+ <span id="h_owner">Assigned to
+ ${(owner_link if defined('owner_link') else
authorinfo(ticket.owner)) if ticket.owner else ''}
+ </span>
+ </h6>
<div class="stickyEndMark"></div>
</div>
</div>
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html?rev=1352884&r1=1352883&r2=1352884&view=diff
==============================================================================
---
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html
(original)
+++
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html
Fri Jun 22 13:37:13 2012
@@ -15,21 +15,6 @@ Arguments:
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:i18n="http://genshi.edgewall.org/i18n"
id="ticket" class="${'ticketdraft' if preview_mode else None}">
- <h6 class="date">
- <span i18n:msg="created" py:if="ticket.exists">Opened
${pretty_dateinfo(ticket.time)}</span>
- <py:if test="ticket.changetime != ticket.time">,
- <span i18n:msg="modified">Last modified
${pretty_dateinfo(ticket.changetime)}</span>
- </py:if>
- <span py:if="not ticket.exists" class="label label-warning">(ticket not
yet created)</span>
- </h6>
- <h6>
- <span id="h_reporter">Reported by
- ${reporter_link if defined('reporter_link') else
authorinfo(ticket.reporter)}
- </span>,
- <span id="h_owner">Assigned to
- ${(owner_link if defined('owner_link') else authorinfo(ticket.owner)) if
ticket.owner else ''}
- </span>
- </h6>
<div class="properties row" style="margin-top: 1.2em"
py:with="fields = [f for f in fields if not f.skip and f.name not in
('type', 'owner', 'keywords')]">