summaryrefslogtreecommitdiff
path: root/templates/buglist.html
blob: 142dc69dd27e15f0e105685a8c0f47a79ce84fbc (plain)
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
<!DOCTYPE html>
<head>
  <title>
    Hemiptera Bugtracker at {{DOMAIN}}
  </title>
  <meta charset="utf-8">
  <link rel="stylesheet" type="text/css" href="/styles.css" >
</head>
<body>
  <header>
    <h1>
      <a href="/" >Hemiptera Bugtracker at {{DOMAIN}}</a>
    </h1>
    <h3>
      Bugs in {{prname}}
    </h3>
  </header>
  <table>
    <thead>
      <td>Id
      <td>Name
      <td>Number of replies
      <td>Created
      <td>Last Reply
      <td>Status
    </thead>
    {% for i in bugs %}
    <tr class="{% if i.closed %} closed {% endif %}" >
      <td>
	{{ i.id }}
      <td>
	<a href="/{{ prname }}/{{ i.id }}.html"> {{ i.subject|e }}</a>
      <td>
	{{ i.replies }}
      <td title="{{ i.created|e }}">
	{{ i.nicecreated }}
      <td title="{{ i.last_reply|e }}">
	{{ i.nicereply }}
      <td>
	{% if i.closed %}
	closed
	{% else %}
	open
	{% endif %}
    </tr>
    {% endfor %}
  </table>
</body>