summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-02-09 11:54:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-02-09 11:54:21 +0000
commit1ad33134d3005af9a1c8357a55e8c6ab9332d4fa (patch)
treed964e26f55acaa8791ab15776de735fc3cfc682b /app/views
parentfa31229a2338706455dd754fd57e7f7e8ebf26a7 (diff)
downloadredmine-1ad33134d3005af9a1c8357a55e8c6ab9332d4fa.tar.gz
redmine-1ad33134d3005af9a1c8357a55e8c6ab9332d4fa.zip
Enable the watching of news (#2549).
git-svn-id: http://svn.redmine.org/redmine/trunk@12866 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/news/index.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb
index 38eecd262..7fa75dc51 100644
--- a/app/views/news/index.html.erb
+++ b/app/views/news/index.html.erb
@@ -3,6 +3,7 @@
new_project_news_path(@project),
:class => 'icon icon-add',
:onclick => 'showAndScrollTo("add-news", "news_title"); return false;') if @project && User.current.allowed_to?(:manage_news, @project) %>
+<%= watcher_link(@project.enabled_module('news'), User.current) %>
</div>
<div id="add-news" style="display:none;">