From c31287f2f528332e73e4af4972c22dd3bb72a02f Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 21 Nov 2016 15:21:51 +0800 Subject: [PATCH] =?UTF-8?q?temp=E7=94=A8=E6=88=B7=EF=BC=8C=E9=93=83?= =?UTF-8?q?=E9=93=9B=E6=B6=88=E6=81=AF=E6=8A=A5500=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=82=B9=E5=87=BB=E5=90=8D=E7=A7=B0=E8=BF=9B?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=BB=E9=A1=B5=EF=BC=88=E7=9B=AE=E5=89=8D?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E7=B1=BB=E6=B6=88=E6=81=AF=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=BF=9B=E8=87=AA=E5=B7=B1=E4=B8=BB=E9=A1=B5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_user_message_applied_schools.html.erb | 2 +- app/views/users/_user_message_course.html.erb | 11 +++++-- app/views/users/user_messages.html.erb | 1 + ...0161121063025_delete_temp_error_message.rb | 12 +++++++ db/schema.rb | 32 ++++++++----------- 5 files changed, 37 insertions(+), 21 deletions(-) create mode 100644 db/migrate/20161121063025_delete_temp_error_message.rb diff --git a/app/views/users/_user_message_applied_schools.html.erb b/app/views/users/_user_message_applied_schools.html.erb index 9de70a03a..1e2ff86ba 100644 --- a/app/views/users/_user_message_applied_schools.html.erb +++ b/app/views/users/_user_message_applied_schools.html.erb @@ -2,6 +2,6 @@ <% if ma.status != 0 %> 系统提示 <% else %> - <%=link_to User.where("id=?", ma.applied_user_id).first.show_name, user_path(ma.user), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %> + <%=link_to User.where("id=?", ma.applied_user_id).first.show_name, user_path(ma.applied_user_id), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %> <% end %> "><%= applied_school_tip(ma) %> \ No newline at end of file diff --git a/app/views/users/_user_message_course.html.erb b/app/views/users/_user_message_course.html.erb index 40f25d429..3520bf529 100644 --- a/app/views/users/_user_message_course.html.erb +++ b/app/views/users/_user_message_course.html.erb @@ -1,8 +1,15 @@ <% if ma.class == CourseMessage %> <% if ma.course_message_type == "News" && ma.course_message %>