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.
22 lines
543 B
22 lines
543 B
include ./post.pug
|
|
|
|
mixin ban(ban, modpage)
|
|
.ban
|
|
if modpage
|
|
input.post-check(type='checkbox', name='checkedbans[]' value=ban._id)
|
|
span
|
|
| Banned
|
|
if ban.board
|
|
| from #[a(href=`/${ban.board}/`) /#{ban.board}/]
|
|
else
|
|
| globally
|
|
| for: #{ban.reason}
|
|
div Issued by: #{ban.issuer}
|
|
div Issued against: ...#{ban.ip.slice(-10)}
|
|
div Banned: #{ban.date.toLocaleString()}
|
|
div Expires: #{ban.expireAt.toLocaleString()}
|
|
if ban.post
|
|
span Banned for the following post:
|
|
section.thread
|
|
+post(ban.post, false)
|
|
|
|
|