summaryrefslogtreecommitdiff
path: root/views/forum_thread.pug
blob: 797a629df90660c242a472b06f94c80216570361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title= thread.subject
	body
		include header
		article
			h1= thread.subject

			each row in posts
				+forumpost(row,1)

			if user
				if posts.length > 0
					p: a(href="/forum/reply/"+posts[0].post_id) Reply
				if user.user_id === 1
					p: a(href="/forum/delete-thread/"+thread.thread_id) DELETE THREAD