From 4900ff5492e4d0deac8fb342ac1f5988dc13ddd0 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 9 Sep 2016 14:36:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8C=E7=A8=8B=E7=A2=91=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20=E5=AE=8C=E6=88=90=E8=80=85=E5=A7=93=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 2 +- app/views/versions/index.html.erb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index de86df4bf..9f1e25d85 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -423,7 +423,7 @@ module ApplicationHelper else s = link_to text, issue_path(issue), :class => "c_blue", :title => title end - s << h(": #{subject}") if subject + s << h("".html_safe) if subject s = h("#{issue.project} - ") + s if options[:project] s end diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 066b4981e..dd3d9d9b8 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -47,6 +47,7 @@ <% issues.each do |issue| -%>
  • <%= link_to_issue_version(issue, :project => (@project != issue.project)) %> + 指派给:<%= link_to "#{User.find(issue.try(:assigned_to_id)).show_name}", user_path(issue.try(:assigned_to_id)), :class => "c_blue hidden" %>
  • <% end -%>