|
8 | 8 | ViewData[Keys.Headings] = "General statistics"; |
9 | 9 | ViewData[Keys.Highlight] = MainHighlight.Stats; |
10 | 10 | } |
11 | | -<div class="mini-heading">Top 10 threads by posts</div> |
| 11 | +<div class="mini-heading">Top threads</div> |
12 | 12 | <div class="userpost-container" > |
13 | | - <span class="thread-odd thread-item thread-header thread-item-title">Title</span> |
| 13 | + <span class="thread-odd thread-item thread-header thread-item-title">Thread</span> |
14 | 14 | <span class="thread-odd thread-item thread-header thread-item-posts"># Posts</span> |
15 | | - @foreach (var (index, threadPosted) in Model.top10_threads.Select((t, i) => (i,t))) { |
| 15 | + @foreach (var (index, threadPosted) in Model.top_threads.Select((t, i) => (i,t))) { |
16 | 16 | <span class="@Url.Content($"{Helpers.getThreadRow(index)} thread-item thread-item-title")"> |
17 | 17 | <span class="thread-tooltip"> |
18 | 18 | @Html.Raw(threadPosted.thread_name) |
|
26 | 26 | </span> |
27 | 27 | } |
28 | 28 | </div> |
29 | | -<div class="mini-heading">Top 10 users by posts</div> |
| 29 | +<div class="mini-heading">Top users</div> |
| 30 | +<div class="user-container" > |
| 31 | +<span class="thread-odd thread-item thread-header thread-item-title">User</span> |
| 32 | +<span class="thread-odd thread-item thread-header thread-item-posts"># Posts</span> |
| 33 | + @foreach (var (index, threadPosted) in Model.top_users.Select((t, i) => (i,t))) { |
| 34 | + <span class="@Url.Content($"{Helpers.getThreadRow(index)} thread-item thread-item-title")"> |
| 35 | + <a href="@Url.Content($"/profile/{threadPosted.username}")"> |
| 36 | + @threadPosted.username |
| 37 | + </a> |
| 38 | + </span> |
| 39 | + <span class="@Url.Content($"{Helpers.getThreadRow(index)} thread-item thread-item-posts")"> |
| 40 | + @threadPosted.no_posts |
| 41 | + </span> |
| 42 | + } |
| 43 | +</div> |
30 | 44 | <div class="mini-heading">number of threads for each board</div> |
31 | 45 | <div class="mini-heading">total number of posts</div> |
32 | 46 | <div class="mini-heading">total number of threads</div> |
|
0 commit comments