forked from mozilla/zamboni
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andy McKay
committed
Nov 4, 2010
1 parent
7906ad5
commit edb1ff2
Showing
12 changed files
with
209 additions
and
3 deletions.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<div id="addon" class="primary"> | ||
<form method="post" action="{{ url('addons.abuse', addon.pk) }}"> | ||
<fieldset class="abuse"> | ||
{% if hide %}<legend><a href="#">{{ _('Report Abuse') }}</a></legend>{% endif %} | ||
<ol> | ||
<li> | ||
{{ csrf() }} | ||
{{ abuse_form.as_p()|safe }} | ||
</li> | ||
<li> | ||
<button type="submit">{{ _('Send Report') }}</button> | ||
{% if hide %} | ||
or <button type="reset" class="link">{{ _('Cancel') }}</button> | ||
{% endif %} | ||
</li> | ||
</ol> | ||
</fieldset> | ||
</form> | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "base_side_categories.html" %} | ||
|
||
{% set title = _('Report abuse for {0}')|f(addon.name) %} | ||
|
||
{% block title %}{{ page_title(title) }}{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<header> | ||
{{ breadcrumbs([(addon.type_url(), amo.ADDON_TYPES[addon.type]), | ||
(addon.get_url_path(), addon.name), | ||
(None, _('Add Abuse'))]) }} | ||
<h2>{{ title }}</h2> | ||
</header> | ||
|
||
{{ report_abuse(hide=False, addon=addon) }} | ||
|
||
{% 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
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
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