diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index 50feacb7a..d2ff856f2 100644 --- a/app/views/messages/show.html.erb +++ b/app/views/messages/show.html.erb @@ -171,17 +171,18 @@ <%= link_to_attachments message, :author => false %> --> <% end %> - -<% end %> - <% if !@topic.locked? && authorize_for('messages', 'reply') %> -

<%= toggle_link l(:button_reply), "reply", :focus => 'message_content' %>

+

<%= toggle_link l(:button_reply), "reply", :focus => 'message_content' %>

<% end %> diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index 39fcfd7da..0e67766db 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -60,12 +60,12 @@ <% if @project.project_type == 1 %> - <% else %> - <% end %> diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 28ff04080..99cbed970 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -208,7 +208,7 @@
<%= link_to_user(news.author)if news.respond_to?(:author) %><%= l(:label_project_notice)%><%= link_to h(news.title), news_path(news) %> + <%= link_to_user(news.author)if news.respond_to?(:author) %><%= l(:label_project_notice)%><%= link_to h(news.title), news_path(news) %> <%= delete_link news_path(news) if User.current.allowed_to?(:manage_news, @project) %>
<%= link_to_user(news.author)if news.respond_to?(:author) %><%= l(:label_project_newshare)%> <%= link_to h(news.title), news_path(news) %> + <%= link_to_user(news.author)if news.respond_to?(:author) %><%= l(:label_project_newshare)%> <%= link_to h(news.title), news_path(news) %> <%= delete_link news_path(news) if User.current.allowed_to?(:manage_news, @project) %>