From 5b044ec872e3d951d5975b491a80bb2eafca81ad Mon Sep 17 00:00:00 2001 From: nieguanghui Date: Fri, 13 Dec 2013 19:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=BE=E7=A4=BA=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/messages/show.html.erb | 9 +++++---- app/views/news/index.html.erb | 4 ++-- app/views/welcome/index.html.erb | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index 50feacb7..d2ff856f 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 39fcfd7d..0e67766d 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 28ff0408..99cbed97 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) %>