This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug 809495 - Add user ban front-end
- Loading branch information
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
You have been banned. | ||
{# vim: set ts=2 et sts=2 sw=2: #} | ||
{% extends "users/base.html" %} | ||
{% set title = _('You\'ve Been Banned') %} | ||
{% set classes = 'profile' %} | ||
{% block title %}{{ page_title(title) }}{% endblock %} | ||
|
||
{% block content %} | ||
<section id="content"> | ||
<div class="wrap"> | ||
<div id="content-main" class="full"> | ||
<article id="profile-banned" class="main"> | ||
<h1>{{ title }}</h1> | ||
<p> | ||
{{ _('You have been banned for the following reason:') }} | ||
</p> | ||
<ul> | ||
{% if bans | length %} | ||
{% for ban in bans %} | ||
<li>{{ ban.reason }}</li> | ||
{% endfor %} | ||
{% endif %} | ||
</ul> | ||
|
||
{% trans %} | ||
<p><a href="mailto:mdn-admins@mozilla.org?subject=Ban Appeal">Click here</a> to appeal this ban.</p> | ||
{% endtrans %} | ||
|
||
</article> | ||
</div> | ||
</div> | ||
</section> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters