From 8fb440c59309d267b76f2ee0be3dc49857aecc6c Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 27 Sep 2016 17:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AEissue=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/_project_issue.html.erb | 11 ++++++++-- app/views/issues/index.html.erb | 26 +++++++++++++++--------- public/stylesheets/css/project.css | 5 +++-- 3 files changed, 28 insertions(+), 14 deletions(-) diff --git a/app/views/issues/_project_issue.html.erb b/app/views/issues/_project_issue.html.erb index 4f1f6c097..cf04baa14 100644 --- a/app/views/issues/_project_issue.html.erb +++ b/app/views/issues/_project_issue.html.erb @@ -40,6 +40,13 @@ 周报 <% end %> +
  • <% unless activity.assigned_to_id.nil? %> <% if activity.try(:assigned_to).try(:realname).empty? %> @@ -48,8 +55,8 @@ <%= link_to activity.try(:assigned_to).try(:realname), user_path(activity.assigned_to_id), :class => "c_grey" %> <% end %> <% end %>
  • -
  • <%= activity.fixed_version %>
  • -
  • <%= activity.status.name%>
  • +
  • <%= activity.fixed_version %>
  • +
  • <%= activity.status.name%>
  • <%= activity.done_ratio %>%
  • <%= link_to "", issue_path(activity.id, :edit => 'true'), :class => 'sy_icons_edit fl mt15', :accesskey => accesskey(:edit) if activity.editable? && User.current.allowed_to?(:edit_issues, activity.project) %> diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 271fb16c6..256ea3378 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -4,7 +4,7 @@