summaryrefslogtreecommitdiff
path: root/views/forum_thread.pug
blob: be3f0f477919f5b12be4494f0b191cc6c87239dc (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="/admin/delete-thread/"+thread.thread_id) DELETE THREAD