From 122d3964edb03bca6318f4131e9e07764f53e95d Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Fri, 16 Dec 2016 16:25:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=BB=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_unfinished_homework_list.html.erb | 2 +- app/views/users/_unfinished_poll_list.html.erb | 2 +- app/views/users/_unfinished_test_list.html.erb | 2 +- app/views/users/_unsolved_issues_list.html.erb | 2 +- app/views/users/_user_activities.html.erb | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/views/users/_unfinished_homework_list.html.erb b/app/views/users/_unfinished_homework_list.html.erb index 38379a46a..2ed7cc187 100644 --- a/app/views/users/_unfinished_homework_list.html.erb +++ b/app/views/users/_unfinished_homework_list.html.erb @@ -14,7 +14,7 @@
  • - <%= link_to uh.name.to_s, student_work_index_path( :homework => uh.id, :tab => 2), :target => "_blank", :class => "homepageTabTitle fl ml5" %> + <%= link_to uh.name.to_s, student_work_index_path( :homework => uh.id, :tab => 1), :target => "_blank", :class => "homepageTabTitle fl ml5" %>
  • diff --git a/app/views/users/_unfinished_poll_list.html.erb b/app/views/users/_unfinished_poll_list.html.erb index e4a0d8460..d674e32dc 100644 --- a/app/views/users/_unfinished_poll_list.html.erb +++ b/app/views/users/_unfinished_poll_list.html.erb @@ -18,7 +18,7 @@
  • <% if up.polls_type == "Course" %> - <%= Course.find(up.polls_group_id).name %> + <%= link_to Course.find(up.polls_group_id).name, course_path(Course.find(up.polls_group_id)) %> <% end %>
  • diff --git a/app/views/users/_unfinished_test_list.html.erb b/app/views/users/_unfinished_test_list.html.erb index e0ed8dcfb..0ae28b857 100644 --- a/app/views/users/_unfinished_test_list.html.erb +++ b/app/views/users/_unfinished_test_list.html.erb @@ -3,7 +3,7 @@ - + diff --git a/app/views/users/_unsolved_issues_list.html.erb b/app/views/users/_unsolved_issues_list.html.erb index 6e9ef1452..f08527fda 100644 --- a/app/views/users/_unsolved_issues_list.html.erb +++ b/app/views/users/_unsolved_issues_list.html.erb @@ -20,7 +20,7 @@
    作业标题测验标题 来源 测验时长 截止剩余时间
  • - <%= ui.project.try(:name) %> + <%= link_to ui.project.try(:name), project_path(ui.project_id) %>
  • diff --git a/app/views/users/_user_activities.html.erb b/app/views/users/_user_activities.html.erb index 8675cb9e7..e8a3143e3 100644 --- a/app/views/users/_user_activities.html.erb +++ b/app/views/users/_user_activities.html.erb @@ -109,8 +109,7 @@ - <%= link_to "点击展开更多", action == "project_community" ? user_project_community_path(@user.id, :type => type, :page => page) : user_course_community_path(@user.id, :type => type,:page => page), - :id => "show_more_activities", :remote => "true", :class => "loadMore mt10 f_grey" %> + <%= link_to "点击展开更多", user_activities_path(@user.id,:type => type,:page => page), :id => "show_more_activities", :remote => "true", :class => "loadMore mt10 f_grey"%> <% end%>