aboutsummaryrefslogtreecommitdiff
blob: 5b849ebe37b14c52b9cc570b178e2dc7ac8ca0da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
{{template "head"}}
<body>
{{template "header" "popular"}}

<div class="container mb-5">
    <div class="row">
        <div class="col-12 pb-4">
            <h1 class="first-header">Popular Recent Threads:</h1>

            <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>
                    </tr>
                {{end}}

            </table>

        </div>
    </div>
</div>


{{template "footer"}}

</body>
</html>