|
|
@ -1,11 +1,12 @@ |
|
|
|
include ./report.pug |
|
|
|
include ./report.pug |
|
|
|
mixin post(post, truncate, manage=false, globalmanage=false, ban=false) |
|
|
|
mixin post(post, truncate, manage=false, globalmanage=false, ban=false, overboard=false) |
|
|
|
.anchor(id=post.postId) |
|
|
|
.anchor(id=post.postId) |
|
|
|
div(class=`post-container ${post.thread || ban === true ? '' : 'op'}` data-board=post.board data-post-id=post.postId data-user-id=post.userId data-name=post.name data-tripcode=post.tripcode data-subject=post.subject) |
|
|
|
div(class=`post-container ${post.thread || ban === true ? '' : 'op'}` data-board=post.board data-post-id=post.postId data-user-id=post.userId data-name=post.name data-tripcode=post.tripcode data-subject=post.subject) |
|
|
|
- const postURL = `/${post.board}/${(modview || manage || globalmanage) ? 'manage/' : ''}thread/${post.thread || post.postId}.html`; |
|
|
|
- const postURL = `/${post.board}/${(modview || manage || globalmanage) ? 'manage/' : ''}thread/${post.thread || post.postId}.html`; |
|
|
|
.post-info |
|
|
|
.post-info |
|
|
|
span |
|
|
|
span |
|
|
|
label |
|
|
|
label |
|
|
|
|
|
|
|
if !overboard |
|
|
|
if globalmanage |
|
|
|
if globalmanage |
|
|
|
input.post-check(type='checkbox', name='globalcheckedposts' value=post._id) |
|
|
|
input.post-check(type='checkbox', name='globalcheckedposts' value=post._id) |
|
|
|
else if !ban |
|
|
|
else if !ban |
|
|
|