From 22df5a2514469565661fe70a66a65a60b19a7633 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Mon, 12 Nov 2018 09:43:35 +0100
Subject: [PATCH] Add link to News management on personal page

---
 .../partials/scipost/personal_page/admin_actions.html    | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/scipost/templates/partials/scipost/personal_page/admin_actions.html b/scipost/templates/partials/scipost/personal_page/admin_actions.html
index ca39e0f86..a976f9d90 100644
--- a/scipost/templates/partials/scipost/personal_page/admin_actions.html
+++ b/scipost/templates/partials/scipost/personal_page/admin_actions.html
@@ -11,7 +11,7 @@
 </div>
 
 <div class="row">
-    {% if perms.scipost.can_vet_registration_requests or perms.scipost.can_create_registration_invitations or perms.scipost.can_resend_registration_requests %}
+    {% if perms.scipost.can_vet_registration_requests or perms.scipost.can_create_registration_invitations or perms.scipost.can_resend_registration_requests or perms.scipost.can_manage_news %}
     <div class="col-md-4">
         <h3>Registration actions</h3>
         <ul>
@@ -26,6 +26,13 @@
             {% endif %}
         </ul>
 
+	{% if perms.scipost.can_manage_news %}
+	<h3>News management</h3>
+	<ul>
+	  <li><a href="{% url 'news:manage' %}">Manage News Items and Newsletters</a></li>
+	</ul>
+	{% endif %}
+
         {% if perms.scipost.can_manage_registration_invitations %}
             <h3>Notifications</h3>
             <ul>
-- 
GitLab