views/twitter-result.pug
extends skeleton
block title
title BBCBweaking
block languages
block login
block breadcrumb
li: a(href="/unblock") Appeal a block
li #{user.name}
block append css
style.
.upheld { background-color: #DF3034; }
.referred { background-color: #2B8CC4; }
block content
.grid-row
.column-two-thirds
if verdict.verdict === 'already_unblocked'
.govuk-box-highlight.alreay_unblocked
h1.heading-xlarge You’re already unblocked.
p.lede We’ve checked your account and you’re not blocked by the bot. There’s no action we need to take.
if verdict.verdict === 'overturned'
.govuk-box-highlight.overturned
h1.heading-xlarge You’re unblocked.
p.lede We’ve automatically unblocked you because #{verdict.because}
if verdict.verdict === 'upheld'
.govuk-box-highlight.upheld
h1.heading-xlarge We won’t unblock you.
p.lede We’ve checked your account and decided not to unblock you because #{verdict.because}
if verdict.verdict === 'referred'
.govuk-box-highlight.referred
h1.heading-xlarge We can’t unblock you.
p.lede We’ve checked your account but we can’t unblock you because #{verdict.because}