diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-14 17:07:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-14 17:07:40 +0000 |
commit | b11dd1f2130d058ff9770f7747c3c5f5a71193a6 (patch) | |
tree | 0e9f6ebb83ba5ec8c5bfcf181cc5e38f316d796c /app/views | |
parent | 7ca7e4bad5037067c1a8cd653eed095372e7f772 (diff) | |
download | redmine-b11dd1f2130d058ff9770f7747c3c5f5a71193a6.tar.gz redmine-b11dd1f2130d058ff9770f7747c3c5f5a71193a6.zip |
Reply form on the message view is displayed only if user is logged in.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@532 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/messages/show.rhtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml index 8f3d83a7e..8068da011 100644 --- a/app/views/messages/show.rhtml +++ b/app/views/messages/show.rhtml @@ -18,6 +18,7 @@ <div class="wiki"><p><%= textilizable message.content %></p></div> <% end %> +<% if @logged_in_user %> <p><%= toggle_link l(:button_reply), "reply", :focus => "reply_content" %></p> <div id="reply" style="display:none;"> <%= error_messages_for 'message' %> @@ -27,3 +28,4 @@ <p><%= submit_tag l(:button_submit) %></p> <% end %> </div> +<% end %>
\ No newline at end of file |