This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/user/banned.pug

30 lines
630 B
Plaintext

extends ../layout.pug
block title
|Icy Network - Banned Account
block body
.container.mt-4.mb-4
if ipban
h1 This IP Address is banned from accessing Icy Network
else
h1 This user is banned from accessing Icy Network.
p This user currently has #{bans.length} ban(s) active.
each ban in bans
.ban.alert.alert-danger
p
b Banned at
.date #{new Date(ban.banned)}
p
b Reason
.reason #{ban.reason}
p
b Expires at
.expiry
if !ban.expiry
b This ban is permanent.
else
|#{new Date(ban.expiry)}
if !ban.expiry
b This ban cannot be appealed.