jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
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.

35 lines
813 B

include ./post.pug
mixin ban(ban, banpage)
tr
td
if !banpage || (ban.appeal == null && ban.allowAppeal === true)
input.post-check(type='checkbox', name='checkedbans' value=ban._id)
td
if ban.board
a(href=`/${ban.board}/`) /#{ban.board}/
else
| Global
td= ban.reason
td ...#{ban.ip.slice(-10)}
td= ban.issuer
td= ban.date.toLocaleString(undefined, {hour12:false})
td= ban.expireAt.toLocaleString()
td.banposts
if ban.posts && ban.posts.length > 0
| Hover to view
section.thread
each p in ban.posts
+post(p, false, false, false, true)
else
Posts not shown
td
if ban.allowAppeal
| ✓
else
| ⨯
td
if ban.appeal
textarea(rows=1 disabled='true') #{ban.appeal}
else if ban.allowAppeal
| No appeal submitted