summaryrefslogtreecommitdiff
path: root/views/forum_view.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-11 15:21:24 +0200
committerTor Andersson <tor@ccxvii.net>2023-09-15 19:38:13 +0200
commitf5ea88328ef1b4dabd5f58b4c78ad4e175c96765 (patch)
tree7ae9b9cf8b1e1d44b3dbd18ae6a6e26f39c2f11f /views/forum_view.pug
parent55625376e409a96bda56a65dfd8266c6dcb215da (diff)
downloadserver-f5ea88328ef1b4dabd5f58b4c78ad4e175c96765.tar.gz
Add user links to join page.
Diffstat (limited to 'views/forum_view.pug')
-rw-r--r--views/forum_view.pug8
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)) &#x2190;]
+ | #[a.black(href="/forum/page/"+(current_page-1)) &#x2190;]
|
- 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)) &#x2192;]
+ | #[a.black(href="/forum/page/"+(current_page+1)) &#x2192;]
if user
p