Addition of content reporting

New app called "moderation" which handles the reporting, and in the future, management of incorrect records in the database.
This commit is contained in:
2013-04-06 01:07:33 +01:00
parent d5584246d2
commit b8d4b4f82d
19 changed files with 612 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
{% load markdown_deux_tags %}
{% load staticfiles %}
{% load waffle_tags %}
{% load moderation %}
{% block title %}
{{ chain.name }}
@@ -49,6 +50,7 @@
{% else %}
<p>No description / write up available for this chain at the moment.</p>
{% endif %}
<p>{% flag_button %}</p>
</div>
</div>
@@ -74,4 +76,5 @@
</div>
</div>
</div>
{% flag_form chain %}
{% endblock %}

View File

@@ -1,13 +1,14 @@
{% extends "base.html" %}
{% load markdown_deux_tags %}
{% load waffle_tags %}
{% load moderation %}
{% block title %}
{{ store.name }}
{% endblock %}
{% block style %}
<style type="text/css">
<style type="text/css" xmlns="http://www.w3.org/1999/html">
.vcard ul {
list-style-type: none;
}
@@ -55,7 +56,9 @@ $(document).ready(function(){initialize_map_store()});
{% else %}
<p>No description / write up available for this store at the moment.</p>
{% endif %}
<p>{% flag_button %}</p>
{% if store.brands.count %}
<h3>Brands Stocked</h3>
<ul>
@@ -105,5 +108,6 @@ $(document).ready(function(){initialize_map_store()});
</noscript>
</div>
</div>
{% flag_form store %}
</div>
{% endblock %}