diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index 3a8f1ccb2..9d46d505d 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -2,7 +2,7 @@ <%= link_to(l(:label_news_new), (@project ? project_news_index_path(@project) : news_index_path), :class => 'icon icon-add', - :onclick => 'showAndScrollTo("add-news", "news_title"); return false;') if (@project.nil? || (@project && User.current.allowed_to?(:manage_news, @project))) %> + :onclick => 'showAndScrollTo("add-news", "news_title"); return false;') if User.current.allowed_to?(:manage_news, @project, global: true) %> <%= watcher_link(@project.enabled_module('news'), User.current) if @project && User.current.logged? %>