Parent: [7bc214] (diff)

Child: [21c0a3] (diff)

Download this file

index.html    72 lines (68 with data), 2.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!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>
<div class="clear">&nbsp;</div>
<py:if test="not len(tickets)">No open tickets.</py:if>
<py:if test="count > 500">Too many results. Showing the first 500 open tickets.</py:if>
<table py:if="len(tickets)" id="ticket-list">
<thead>
<tr>
<th>#</th>
<th>Status</th>
<th>Assigned</th>
<th>Summary</th>
<th py:for="field in sortable_custom_fields">${field.label}</th>
</tr>
</thead>
<tbody class="ticket-list">
<tr py:for="t in tickets">
<td><a href="${t.ticket_num}/">${t.ticket_num}</a></td>
<td class="$t.status">$t.status</td>
<td py:if="t.assigned_to_id"><a href="${t.assigned_to.url()}">${t.assigned_to.display_name}</a></td>
<td py:if="not t.assigned_to_id"></td>
<td>$t.summary</td>
<td py:for="field in sortable_custom_fields">${t.custom_fields[field.name]}</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 py:if="len(change.change_text) &gt; 70">${change.change_text[0:70]}...</td>
<td py:if="len(change.change_text) &lt;= 70">$change.change_text</td>
</tr>
</tbody>
</table>
${c.subscribe_form.display(value=subscribed, action='subscribe')}
<script type="text/javascript">
$('tbody.ticket-list').children(':even').addClass('even');
$('tbody.change-list').children(':even').addClass('even');
</script>
</body>
</html>