aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-06-24 18:52:00 +0200
committerMax Magorsch <arzano@gentoo.org>2020-06-24 18:52:00 +0200
commit73bbbd365c229f4918e798094e7b82a8336e84c8 (patch)
tree374c00f472d0b55bbe9c42bf019173991062e8ff /web
parentOnly show threads for popular messages (diff)
downloadarchives-73bbbd365c229f4918e798094e7b82a8336e84c8.tar.gz
archives-73bbbd365c229f4918e798094e7b82a8336e84c8.tar.bz2
archives-73bbbd365c229f4918e798094e7b82a8336e84c8.zip
Fix the InReplyTo reference
The model has been changed and so has to be the InReplyTo Reference. Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r--web/templates/message/show.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/templates/message/show.tmpl b/web/templates/message/show.tmpl
index 390fe0a..913ca4e 100644
--- a/web/templates/message/show.tmpl
+++ b/web/templates/message/show.tmpl
@@ -39,10 +39,10 @@
<td><tt>{{.Message.GetMessageId}}</tt></td>
</tr>
- {{if .InReplyTo}}
+ {{if .Message.InReplyTo}}
<tr>
<th>In Reply to:</th>
- <td colspan="3"><a href="/{{.ListName}}/messages/{{.InReplyTo.Id}}">{{.InReplyTo.GetHeaderField "Subject"}}</a> by {{.InReplyTo.GetAuthorName}}</td>
+ <td colspan="3"><a href="/{{.Message.InReplyTo.List}}/messages/{{.Message.InReplyTo.Id}}">{{.Message.InReplyTo.GetSubject}}</a> by {{.Message.InReplyTo.GetAuthorName}}</td>
</tr>
{{end}}