mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
829 B
30 lines
829 B
extends ../layout.pug
|
|
include ../mixins/post.pug
|
|
include ../mixins/ban.pug
|
|
include ../mixins/managenav.pug
|
|
include ../mixins/boardheader.pug
|
|
|
|
block head
|
|
title /#{board._id}/ - Manage
|
|
|
|
block content
|
|
+boardheader('Recent Posts')
|
|
br
|
|
+managenav('recent')
|
|
hr(size=1)
|
|
form(action=`/forms/board/${board._id}/modactions` method='POST' enctype='application/x-www-form-urlencoded')
|
|
input(type='hidden' name='_csrf' value=csrf)
|
|
if posts.length === 0
|
|
p No posts.
|
|
else
|
|
- const ip = permLevel > ipHashPermLevel ? posts[0].ip.single.slice(-10) : posts[0].ip.raw;
|
|
if postId || (queryIp && queryIp === ip)
|
|
h4.no-m-p Post history for #{ip}
|
|
hr(size=1)
|
|
for p in posts
|
|
.thread
|
|
+post(p, true, true)
|
|
hr(size=1)
|
|
.pages.mv-5
|
|
include ../includes/pages.pug
|
|
include ../includes/actionfooter_manage.pug
|
|
|