--- a/ForgeTracker/forgetracker/templates/ticket.html
+++ b/ForgeTracker/forgetracker/templates/ticket.html
@@ -20,11 +20,15 @@
<body>
<div class="span-14">
<div class="span-2">
- ${gravatar(ticket.reported_by().preferences.email_address, size=50)}
+ ${gravatar(ticket.reported_by().preferences.email_address, size=50)}<br/>
+ <py:if test="ticket.assigned_to()">${gravatar(ticket.assigned_to().preferences.email_address, size=50)}</py:if>
</div>
<div class="span-12 last">
<h2 class="ticket_title">#$ticket.ticket_num $ticket.summary</h2>
- <a href="${ticket.reported_by().url()}">${ticket.reported_by().username}</a>, ${helpers.ago(ticket.created_date, round=True)}
+ Created by <a href="${ticket.reported_by().url()}">${ticket.reported_by().username}</a> ${helpers.ago(ticket.created_date, round=True)}<br/>
+ Currently assigned to
+ <py:if test="not ticket.assigned_to()">${ticket.assigned_to_name()}</py:if>
+ <a py:if="ticket.assigned_to()" href="${ticket.assigned_to().url()}">${ticket.assigned_to_name()}</a>
<div py:content="Markup(g.markdown.convert(ticket.description))"/>
${list_attachments(list(ticket.attachments), False)}
</div>
@@ -35,10 +39,6 @@
<div class="tags" py:if="len(ticket.tags)">
Tags: <span py:for="tag in ticket.tags">$tag.tag ($tag.count) </span>
</div>
- Assigned To:
- <py:if test="not ticket.assigned_to()">${ticket.assigned_to_name()}</py:if>
- <a py:if="ticket.assigned_to()" href="${ticket.assigned_to().url()}">${ticket.assigned_to_name()}</a>
- <br/>
<py:for each="field in globals.custom_fields or []">
${field.label}: ${ticket.custom_fields.get(field.name, '')}<br/>
</py:for>