aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-06-23 19:24:20 +0000
committerMax Magorsch <arzano@gentoo.org>2020-06-23 19:24:20 +0000
commite291d408336f7ddaf5618128a9b34a856c0b9c84 (patch)
tree072ca4d9342533a590b6d283369613330ac3e978 /web/templates/list
parentImprove link to popular threads (diff)
downloadarchives-e291d408336f7ddaf5618128a9b34a856c0b9c84.tar.gz
archives-e291d408336f7ddaf5618128a9b34a856c0b9c84.tar.bz2
archives-e291d408336f7ddaf5618128a9b34a856c0b9c84.zip
Decode subjects correctly
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'web/templates/list')
-rw-r--r--web/templates/list/messages.tmpl2
-rw-r--r--web/templates/list/threads.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/templates/list/messages.tmpl b/web/templates/list/messages.tmpl
index fff6a53..28973b4 100644
--- a/web/templates/list/messages.tmpl
+++ b/web/templates/list/messages.tmpl
@@ -28,7 +28,7 @@
{{range .Messages}}
<tr>
- <td><a href="../../message/{{.Id}}">{{.Subject}}</a></td>
+ <td><a href="../../message/{{.Id}}">{{.GetSubject}}</a></td>
<td>{{.GetAuthorName}}</td>
<td><span class="ag-date">{{.Date.Format "Mon, 2 Jan 2006 15:04:05"}}</span></td>
</tr>
diff --git a/web/templates/list/threads.tmpl b/web/templates/list/threads.tmpl
index 933417a..1895d9c 100644
--- a/web/templates/list/threads.tmpl
+++ b/web/templates/list/threads.tmpl
@@ -28,7 +28,7 @@
{{range .Messages}}
<tr>
- <td><a href="../../message/{{.Id}}">{{.Subject}}</a></td>
+ <td><a href="../../message/{{.Id}}">{{.GetSubject}}</a></td>
<td>{{.GetAuthorName}}</td>
<td><span class="ag-date">{{.Date.Format "Mon, 2 Jan 2006 15:04:05"}}</span></td>
</tr>