diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-03-25 18:43:10 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-03-25 18:43:10 +0200 |
commit | 36656efe16604153743d4140570498fffa3bcc45 (patch) | |
tree | 0a4749c93ffd1abe8575c67a6ead16ab011d1f97 | |
parent | 5b2a96605e1a5aa586c2cf7d297fb4f60549918b (diff) | |
download | distix-36656efe16604153743d4140570498fffa3bcc45.tar.gz |
Add newest-message-date to tickets
-rw-r--r-- | distixlib/templates/closed.html.j2 | 2 | ||||
-rw-r--r-- | distixlib/templates/index.html.j2 | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/distixlib/templates/closed.html.j2 b/distixlib/templates/closed.html.j2 index ab76ddd..5a7f84e 100644 --- a/distixlib/templates/closed.html.j2 +++ b/distixlib/templates/closed.html.j2 @@ -17,6 +17,8 @@ <ul class="ticketlist"> {% for ticket in tickets %} <li> + <span class="date" + >{{ticket.get_newest_message_timestamp()|date }}<span> <a class="ticketinlist" href="{{ ticket.get_ticket_id() }}.html" >{{ ticket.get_ticket_id() }} {{ ticket.get_title() }}</a></li> diff --git a/distixlib/templates/index.html.j2 b/distixlib/templates/index.html.j2 index 4c7105c..814ba21 100644 --- a/distixlib/templates/index.html.j2 +++ b/distixlib/templates/index.html.j2 @@ -15,6 +15,8 @@ <ul class="ticketlist"> {% for ticket in tickets %} <li> + <span class="date" + >{{ticket.get_newest_message_timestamp()|date }}<span> <a class="ticketinlist" href="{{ ticket.get_ticket_id() }}.html" >{{ ticket.get_title() }}</a></li> {% endfor %} |