From 1dc1a0a42c55cacdb8a5a818b056f9662ab31939 Mon Sep 17 00:00:00 2001 From: Skia Date: Fri, 23 Dec 2016 18:40:12 +0100 Subject: [PATCH] Add news moderation tool --- club/templates/club/club_tools.jinja | 4 + com/migrations/0003_auto_20161223_1548.py | 25 +++ com/migrations/0004_auto_20161223_1548.py | 20 +++ com/models.py | 13 +- com/templates/com/news_admin_list.jinja | 81 ++++++++-- com/templates/com/news_detail.jinja | 26 ++- com/templates/com/news_edit.jinja | 15 +- com/templates/com/news_list.jinja | 52 +++--- com/urls.py | 1 + com/views.py | 65 ++++++-- core/templates/core/user_tools.jinja | 1 + locale/fr/LC_MESSAGES/django.po | 183 ++++++++++++++++------ 12 files changed, 386 insertions(+), 100 deletions(-) create mode 100644 com/migrations/0003_auto_20161223_1548.py create mode 100644 com/migrations/0004_auto_20161223_1548.py diff --git a/club/templates/club/club_tools.jinja b/club/templates/club/club_tools.jinja index 1c615952..f18c3698 100644 --- a/club/templates/club/club_tools.jinja +++ b/club/templates/club/club_tools.jinja @@ -3,6 +3,10 @@ {% block content %}

{% trans %}Club tools{% endtrans %}

+

{% trans %}Communication:{% endtrans %}

+

{% trans %}Counters:{% endtrans %}