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;}