From 56afad924275b50a52e3bb559dfbbb4fe137460d Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 11 Aug 2016 09:48:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E9=87=8F=E5=88=86=E6=9E=90=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E4=B8=AD=E6=B7=BB=E5=8A=A0=E6=97=B6=E9=97=B4=E5=92=8C?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/quality_analysis/_result_list.html.erb | 7 ++++--- public/stylesheets/css/project.css | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/quality_analysis/_result_list.html.erb b/app/views/quality_analysis/_result_list.html.erb index f3710cd39..306328f65 100644 --- a/app/views/quality_analysis/_result_list.html.erb +++ b/app/views/quality_analysis/_result_list.html.erb @@ -10,8 +10,8 @@
  • 分支
  • 语言
  • 路径
  • -
  • 时间
  • -
  • +
  • 时间
  • +
  • @@ -22,7 +22,8 @@ - + + <% if User.current.try(:login) == qa.author_login || User.current.admin? || is_project_manager?(User.current.id, @project.id) %>
  • <%=link_to "编辑", edit_project_quality_analysi_path(qa, :project_id => @project.id), :remote => true, :class => "fontBlue2" %> / diff --git a/public/stylesheets/css/project.css b/public/stylesheets/css/project.css index bb1e382c9..c594c81fa 100644 --- a/public/stylesheets/css/project.css +++ b/public/stylesheets/css/project.css @@ -511,8 +511,9 @@ a:hover.upload_btn_grey{background:#8a8a8a;} .analysis-result-name {width:200px;} .analysis-result-version {width:90px; text-align:right;} .analysis-result-loc {width:60px; text-align:right;} -.analysis-result-debt {width:160px; text-align:right;} +.analysis-result-debt {width:80px; text-align:right;} .analysis-result-time {width:150px; text-align:right;} +.analysis-result-edit {width:80px; text-align:right;} .analysis-name-icon {background:url(/images/code-analysis-icon.png) -2px -148px no-repeat; width:16px; height:16px; display:inline-block; vertical-align:middle;}