From 704a61184e9d87d0aad33b5f830e075dd7da9e4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Fri, 6 Jul 2018 18:17:54 +0200 Subject: added templates --- templates/bug.html | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 templates/bug.html (limited to 'templates/bug.html') diff --git a/templates/bug.html b/templates/bug.html new file mode 100644 index 0000000..7f58780 --- /dev/null +++ b/templates/bug.html @@ -0,0 +1,41 @@ + + + + Hemiptera Bugtracker at {{DOMAIN}} + + + + + +
+

Hemiptera Bugtracker at {{DOMAIN}}

+

{{prname}}

+

+ {{ replies[0]["Subject"] }} +

+ Send replies to {{ bug.id }}@{{ DOMAIN }} +
+ {% for i in replies %} +
+
+ avatar From: {% if i["From"] == replies[0]["From"] %} OP {% elif i["From"] in devs %} Developer {% else %} Someone else {% endif %}
{{ i["Date"] }} +
+
+

{{ i.get_body("plain").get_content().replace("\n", "

") }}

+
+
+ {% endfor %} + {% if bug.closed %} +
+
+ avatar + Status Update
+ {{ bug.closeddate }} +
+
+ This bug was closed. +
+
+ {% endif %} + + -- cgit v1.2.3