diff options
author | 2020-06-22 00:45:14 +0000 | |
---|---|---|
committer | 2020-06-22 00:45:14 +0000 | |
commit | 2149bb7fb6b6f732ac8364e45d072a22921957db (patch) | |
tree | b72b5b876489df7cbec280b06440b89f9fe46a2d /web/templates/popular | |
parent | Improve the error handling during the import (diff) | |
download | archives-2149bb7fb6b6f732ac8364e45d072a22921957db.tar.gz archives-2149bb7fb6b6f732ac8364e45d072a22921957db.tar.bz2 archives-2149bb7fb6b6f732ac8364e45d072a22921957db.zip |
Rework the data model to improve the performance
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'web/templates/popular')
-rw-r--r-- | web/templates/popular/threads.tmpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/web/templates/popular/threads.tmpl b/web/templates/popular/threads.tmpl index 5b849eb..4dfcbbc 100644 --- a/web/templates/popular/threads.tmpl +++ b/web/templates/popular/threads.tmpl @@ -12,13 +12,11 @@ <table class="table"> <tr> <th>Thread</th> - <th>Number of messages</th> </tr> {{range .}} <tr> - <td><a href="/{{(makeMessage .Headers).GetListNameFromSubject}}/message/{{.Id}}/">{{(makeMessage .Headers).GetSubject}}</a></td> - <td>{{.Count}}</td> + <td><a href="/{{.GetListNameFromSubject}}/message/{{.Id}}/">{{.Subject}}</a></td> </tr> {{end}} |