summaryrefslogtreecommitdiff
path: root/templates/buglist.html
blob: 2664e00f40c201487e7be3d6eea85e61bf19f810 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{% import "macros.html" as macros %}
<!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>
    Report bugs by sending an e-mail to <a href="mailto:{{prname}}@{{DOMAIN}}" >{{prname}}@{{DOMAIN}}</a>  or using the <a href="#ReplyForm">Form below.</a>
    <div class="devavatars" >
      Developers:<br>
      {% for i in dev_avatars %}
      <img class="avatar" src="{{ i }}" alt="avatar" />
      {% endfor %}
      <div class="floatbarrier"> </div>
    </div>
  </header>
  <table>
    <thead>
      <tr>
	<td>
	<td>Id
	<td>Subject
	<td>Replies
	<td>Created
	<td>Last Reply
	<td>Status
      </tr>
    </thead>
    {% for i in bugs %}
    <tr class="{% if i.closed %} closed {% endif %}" >
      <td>
	<img src="{{ i.avatar }}" style="height:1em;" alt="creator avatar" title="Creator avatar">
      <td class="id" >
	{{ 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 }}
	{% if i.closed %}
      <td class="closed">

	closed
	{% else %}
      <td class="open">
	open
	{% endif %}
    </tr>
    {% endfor %}
  </table>

{{ macros.form(prname, DOMAIN) }}

</body>