Remove the checkbox from global bans if visible on board bans page

merge-requests/345/head
Thomas Lynch 2 weeks ago
parent 812e0fd3be
commit 2e1738e6b6
  1. 2
      views/mixins/ban.pug

@ -3,7 +3,7 @@ include ./post.pug
mixin ban(ban, banpage)
tr
td
if !banpage || (ban.appeal == null && ban.allowAppeal === true)
if (!board || !ban.global) && (!banpage || (ban.appeal == null && ban.allowAppeal === true))
input.post-check(type='checkbox', name='checkedbans' value=ban._id)
td
if ban.global === true

Loading…
Cancel
Save