From 82f4c685dae692156c8513a237cf987e898aaad9 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 20 May 2016 17:11:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=8B=92=E7=BB=9D=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_apply_resource_course_message_reply.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/_apply_resource_course_message_reply.html.erb b/app/views/users/_apply_resource_course_message_reply.html.erb index 617ee53c3..2aff99c17 100644 --- a/app/views/users/_apply_resource_course_message_reply.html.erb +++ b/app/views/users/_apply_resource_course_message_reply.html.erb @@ -7,10 +7,10 @@
  • <%= link_to owner.show_name, user_path(owner), :class => "newsBlue homepageNewsPublisher" %> - "><%= ma.apply_result == 1 ? '同意' : '拒绝'%>引用资源: + "><%= ma.apply_result == 2 ? '同意' : '拒绝'%>引用资源:
  • - <% link_str = ma.apply_result == 1 ? + <% link_str = ma.apply_result == 2 ? '您申请引用资源"'+ ma.course_message.find_attachment(ma.course_message.attachment_id).try(:filename) + '"的申请已通过' : '您申请引用资源"'+ ma.course_message.find_attachment(ma.course_message.attachment_id).try(:filename) + '"的申请被婉拒' %>