blob: fc891fa37c80cbef7a3281d5b4b4e8d2bff736c0 (
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
|
<!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>
<h2><a href="/{{prname}}" >{{prname}}</a></h2>
<h3 class="subject" >
{{ replies[0]["Subject"]|e }}
</h3>
Send replies to <a href="mailto:{{ bug.id }}@{{ DOMAIN }}" >{{ bug.id }}@{{ DOMAIN }}</a>
</header>
{% for i in replies %}
<div class="container">
<div class="date {% if i["From"] == replies[0]["From"] %}op{% endif %}{% if i["From"] in devs %}dev{% endif %}">
<img class="avatar" src="{{ i["Avatar"] }}" alt="avatar" /> From: {% if i["From"] == replies[0]["From"] %} OP {% elif i["From"] in devs %} Developer {% else %} Someone else {% endif %}<br> {{ i["Date"] |e}}
</div>
<div class="reply">
<p>{{ i.get_body("plain").get_content()|e|replace("\n", "</p><p>") }}</p>
</div>
</div>
{% endfor %}
{% if bug.closed %}
<div class="container">
<div class="status-header date">
<img class="avatar" src="/static/excl.png" alt="avatar" />
<b>Status Update</b> <br>
{{ bug.closeddate|e}}
</div>
<div class="status-message reply">
<i>This bug was closed.</i>
</div>
</div>
{% endif %}
</body>
|