From fc7080a793ed37d772d14b53057cc98264a50896 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Fri, 15 Jun 2012 13:01:56 +0200 Subject: [PATCH] Discard feed the user is not the publisher when edit a feed entry --- templates/web/prod/actions/publish/publish_edit.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/web/prod/actions/publish/publish_edit.html b/templates/web/prod/actions/publish/publish_edit.html index 13a77bc0e8..3342358a02 100644 --- a/templates/web/prod/actions/publish/publish_edit.html +++ b/templates/web/prod/actions/publish/publish_edit.html @@ -47,10 +47,12 @@
{% set feed_id = entry.get_feed().get_id() %} {% for feed in feeds.get_feeds() %} -
- {{ feed.get_title() }} - -
+ {% if feed.is_publisher(user) %} +
+ {{ feed.get_title() }} + +
+ {% endif %} {% endfor %}