Allow to unmoderate news

This commit is contained in:
Skia
2017-05-13 18:31:23 +02:00
parent 231cb236dc
commit 0a84ef8438
4 changed files with 64 additions and 55 deletions

View File

@@ -26,6 +26,9 @@ section.news_event:nth-of-type(even) {
{% block content %}
<h3>{% trans %}News{% endtrans %}</h3>
{% if user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID) %}
<a href="{{ url('com:news_admin_list') }}">{% trans %}Administrate news{% endtrans %}</a>
{% endif %}
{% for news in object_list.filter(type="NOTICE") %}
<section class="news_notice">
<h4> <a href="{{ url('com:news_detail', news_id=news.id) }}">{{ news.title }}</a></h4>