diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-09-11 15:21:24 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-09-15 19:38:13 +0200 |
commit | f5ea88328ef1b4dabd5f58b4c78ad4e175c96765 (patch) | |
tree | 7ae9b9cf8b1e1d44b3dbd18ae6a6e26f39c2f11f /views/forum_view.pug | |
parent | 55625376e409a96bda56a65dfd8266c6dcb215da (diff) | |
download | server-f5ea88328ef1b4dabd5f58b4c78ad4e175c96765.tar.gz |
Add user links to join page.
Diffstat (limited to 'views/forum_view.pug')
-rw-r--r-- | views/forum_view.pug | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/forum_view.pug b/views/forum_view.pug index ac9201d..1f70c8c 100644 --- a/views/forum_view.pug +++ b/views/forum_view.pug @@ -23,24 +23,24 @@ html each row in threads tr(class=row.is_read?"read":"unread") td - a(href="/forum/thread/"+row.thread_id)= row.subject + a.black(href="/forum/thread/"+row.thread_id)= row.subject td.r= row.count td.w= row.mtime tfoot tr td(colspan=4) if current_page > 1 - | #[a(href="/forum/page/"+(current_page-1)) ←] + | #[a.black(href="/forum/page/"+(current_page-1)) ←] | - for (let p=1; p<=page_count && p<=30; ++p) if p === current_page | (#{p}) | else - | #[a(href="/forum/page/"+p)= p] + | #[a.black(href="/forum/page/"+p)= p] | if current_page < page_count - | #[a(href="/forum/page/"+(current_page+1)) →] + | #[a.black(href="/forum/page/"+(current_page+1)) →] if user p |