From 9caf9cbf2f065c0d5ce7b60be94cb3385cf2fb65 Mon Sep 17 00:00:00 2001 From: cxt Date: Mon, 16 May 2016 16:16:24 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E6=B6=88=E6=81=AF=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E6=B6=88=E6=81=AF=EF=BC=8C=E5=9C=A8=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E8=A6=81=E5=BC=B9=E5=87=BA=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_apply_homework_course_message.html.erb | 6 +- .../_join_course_course_message.html.erb | 2 +- app/views/users/_user_message_course.html.erb | 136 +++++++++--------- app/views/users/_user_message_forge.html.erb | 62 ++++---- app/views/users/_user_message_forum.html.erb | 8 +- app/views/users/_user_message_org.html.erb | 4 +- app/views/users/_user_message_system.html.erb | 2 +- .../_user_message_userfeedaback.html.erb | 6 +- 8 files changed, 113 insertions(+), 113 deletions(-) diff --git a/app/views/users/_apply_homework_course_message.html.erb b/app/views/users/_apply_homework_course_message.html.erb index cf048bcd6..12bf0f2a4 100644 --- a/app/views/users/_apply_homework_course_message.html.erb +++ b/app/views/users/_apply_homework_course_message.html.erb @@ -1,12 +1,12 @@ -
  • +
  • <%= link_to User.find(ma.apply_user_id).show_name, - user_path(User.find(ma.apply_user_id)), :class => "newsBlue homepageNewsPublisher" %> + user_path(User.find(ma.apply_user_id)), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %> ">申请引用作业:
  • <% content = ma.content.nil? ? '' : ':'+ ma.content.to_s %> - <%= link_to User.find(ma.apply_user_id).show_name+"申请引用作业\""+"#{HomeworkCommon.find(ma.course_message_id).name}"+"\"#{content}", student_work_index_path(:homework => ma.course_message.id), :title => User.find(ma.apply_user_id).show_name+"申请引用作业\""+"#{HomeworkCommon.find(ma.course_message_id).name}"+"\"#{content}",:class => "#{ma.viewed == 0 ? "newsBlack" : "newsGrey "}" %> + <%= link_to User.find(ma.apply_user_id).show_name+"申请引用作业\""+"#{HomeworkCommon.find(ma.course_message_id).name}"+"\"#{content}", student_work_index_path(:homework => ma.course_message.id), :title => User.find(ma.apply_user_id).show_name+"申请引用作业\""+"#{HomeworkCommon.find(ma.course_message_id).name}"+"\"#{content}",:class => "#{ma.viewed == 0 ? "newsBlack" : "newsGrey "}", :target => '_blank' %>
  • diff --git a/app/views/users/_join_course_course_message.html.erb b/app/views/users/_join_course_course_message.html.erb index 28675b7eb..01ebb5cf9 100644 --- a/app/views/users/_join_course_course_message.html.erb +++ b/app/views/users/_join_course_course_message.html.erb @@ -6,7 +6,7 @@
  • <%= link_to User.find(ma.course_message_id).name+"申请成为课程\""+"#{Course.find(ma.course_id).name}"+"\"的"+"#{ma.content == '9' ? "教师" : "教辅"}", user_path(User.find(ma.course_message_id), :course_id => ma.course_id), - :class => "#{ma.viewed==0 ? "newsBlack" : "newsGrey"}" %> + :class => "#{ma.viewed==0 ? "newsBlack" : "newsGrey"}", :target => '_blank' %> diff --git a/app/views/users/_user_message_course.html.erb b/app/views/users/_user_message_course.html.erb index d278c7d74..a80a08e42 100644 --- a/app/views/users/_user_message_course.html.erb +++ b/app/views/users/_user_message_course.html.erb @@ -1,11 +1,11 @@ <% if ma.class == CourseMessage %> <% if ma.course_message_type == "News" %>