summaryrefslogtreecommitdiffstats
path: root/app/views/boards
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-13 19:43:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-13 19:43:35 +0000
commitbca5bd9c62769ca85f00259ac0e9a3c4538f7051 (patch)
treea14630132f58878681cc416aa86b20a8d448923c /app/views/boards
parentb90e84b9fe252df464d084f0222c65367407a4ba (diff)
downloadredmine-bca5bd9c62769ca85f00259ac0e9a3c4538f7051.tar.gz
redmine-bca5bd9c62769ca85f00259ac0e9a3c4538f7051.zip
Added watchers for message boards (watchers controller modified to support any watchable model).
No notification yet when a new message is posted. git-svn-id: http://redmine.rubyforge.org/svn/trunk@530 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/boards')
-rw-r--r--app/views/boards/show.rhtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/boards/show.rhtml b/app/views/boards/show.rhtml
index 13a056046..cb38cdb53 100644
--- a/app/views/boards/show.rhtml
+++ b/app/views/boards/show.rhtml
@@ -1,5 +1,6 @@
<div class="contextual">
<%= link_to l(:label_message_new), {:controller => 'messages', :action => 'new', :board_id => @board}, :class => "icon icon-add" %>
+<%= watcher_tag(@board, @logged_in_user) %>
</div>
<h2><%=h @board.name %></h2>