aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-06-24 20:17:31 +0200
committerMax Magorsch <arzano@gentoo.org>2020-06-24 20:17:31 +0200
commitec6e229d7b64f81c8dce09444be98d12c436fe36 (patch)
tree8e65f7d1e7b68d4d0f614f8d46190641750913b2 /web/templates
parentRename MessageId to MessageIdField (diff)
downloadarchives-ec6e229d7b64f81c8dce09444be98d12c436fe36.tar.gz
archives-ec6e229d7b64f81c8dce09444be98d12c436fe36.tar.bz2
archives-ec6e229d7b64f81c8dce09444be98d12c436fe36.zip
Fix the references of a message
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'web/templates')
-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 913ca4e..8accbde 100644
--- a/web/templates/message/show.tmpl
+++ b/web/templates/message/show.tmpl
@@ -80,8 +80,8 @@
</tr>
{{range .Replies}}
<tr>
- <td><a href="{{.Id}}">{{.GetHeaderField "Subject"}}</a></td>
- <td>{{formatAddr (.GetHeaderField "From")}}</td>
+ <td><a href="{{.Id}}">{{.GetSubject}}</a></td>
+ <td>{{formatAddr .From}}</td>
</tr>
{{end}}
</tbody>