diff options
author | 2020-06-24 18:52:00 +0200 | |
---|---|---|
committer | 2020-06-24 18:52:00 +0200 | |
commit | 73bbbd365c229f4918e798094e7b82a8336e84c8 (patch) | |
tree | 374c00f472d0b55bbe9c42bf019173991062e8ff /web | |
parent | Only show threads for popular messages (diff) | |
download | archives-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.tmpl | 4 |
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}} |