<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="${g.pyforge_templates}/master.html"/>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
<title>ForgeTracker Index Page</title>
<link rel="alternate" type="application/rss+xml" title="RSS" href="feed.rss"/>
<link rel="alternate" type="application/atom+xml" title="Atom" href="feed.atom"/>
<style type="text/css">
div.ticket { font-size:160% }
</style>
</head>
<body>
<h1 class="title">ForgeTracker for $c.project.shortname</h1>
<h2>Tickets</h2>
<py:if test="not len(tickets)">No tickets have been created yet.</py:if>
<table py:if="len(tickets)" id="ticket-list">
<thead>
<tr>
<th>#</th>
<th>Status</th>
<th>Assigned</th>
<th>Summary</th>
</tr>
</thead>
<tbody class="ticket-list">
<tr py:for="ticket in tickets">
<td><a href="$ticket.ticket_num/">$ticket.ticket_num</a></td>
<td class="$ticket.status">$ticket.status</td>
<td py:if="ticket.assigned_to_id"><a href="${ticket.assigned_to.url()}">${ticket.assigned_to.display_name}</a></td>
<td py:if="not ticket.assigned_to_id"></td>
<td>$ticket.summary</td>
</tr>
</tbody>
</table>
<h2 py:if="len(changes)">Recent Changes</h2>
<table py:if="len(changes)">
<thead>
<tr>
<th>Time</th>
<th>Type</th>
<th>Ticket</th>
<th>Summary</th>
</tr>
</thead>
<tbody class="change-list">
<tr py:for="change in changes">
<td>${h.ago(change.change_date)}</td>
<td>$change.change_type</td>
<td><a href="$change.ticket_num">$change.ticket_num</a></td>
<td>$change.change_text</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
$('tbody.ticket-list').children(':even').addClass('even');
$('tbody.change-list').children(':even').addClass('even');
</script>
</body>
</html>