|
|
@ -1,8 +1,8 @@ |
|
|
|
include ./post.pug |
|
|
|
include ./post.pug |
|
|
|
|
|
|
|
|
|
|
|
mixin ban(ban, showcheck) |
|
|
|
mixin ban(ban, modpage) |
|
|
|
.ban |
|
|
|
.ban |
|
|
|
if showcheck |
|
|
|
if modpage |
|
|
|
input.post-check(type='checkbox', name='checkedbans[]' value=ban._id) |
|
|
|
input.post-check(type='checkbox', name='checkedbans[]' value=ban._id) |
|
|
|
span |
|
|
|
span |
|
|
|
| Banned |
|
|
|
| Banned |
|
|
@ -12,8 +12,7 @@ mixin ban(ban, showcheck) |
|
|
|
| globally |
|
|
|
| globally |
|
|
|
| for: #{ban.reason} |
|
|
|
| for: #{ban.reason} |
|
|
|
div Issued by: #{ban.issuer} |
|
|
|
div Issued by: #{ban.issuer} |
|
|
|
//todo: hash ips |
|
|
|
div Issued against: ...#{ban.ip.slice(-10)} |
|
|
|
div Issued against: #{ban.ip} |
|
|
|
|
|
|
|
div Banned: #{ban.date.toLocaleString()} |
|
|
|
div Banned: #{ban.date.toLocaleString()} |
|
|
|
div Expires: #{ban.expireAt.toLocaleString()} |
|
|
|
div Expires: #{ban.expireAt.toLocaleString()} |
|
|
|
if ban.post |
|
|
|
if ban.post |
|
|
|