代码分析列表加上时间
This commit is contained in:
parent
8270344794
commit
8af8147ebb
|
@ -10,6 +10,7 @@
|
||||||
<li class="analysis-result-version fl fontBlue2" >分支</li>
|
<li class="analysis-result-version fl fontBlue2" >分支</li>
|
||||||
<li class="analysis-result-loc fl fontBlue2" >语言</li>
|
<li class="analysis-result-loc fl fontBlue2" >语言</li>
|
||||||
<li class="analysis-result-debt fl fontBlue2" >路径</li>
|
<li class="analysis-result-debt fl fontBlue2" >路径</li>
|
||||||
|
<li class="analysis-result-debt fl fontBlue2" >时间</li>
|
||||||
<li class="analysis-result-time fl fontBlue2" ></li>
|
<li class="analysis-result-time fl fontBlue2" ></li>
|
||||||
<!--<li class="analysis-result-time fl fontBlue2" >bianji</li>-->
|
<!--<li class="analysis-result-time fl fontBlue2" >bianji</li>-->
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
@ -17,10 +18,11 @@
|
||||||
<% if @quality_analyses.count >0 %>
|
<% if @quality_analyses.count >0 %>
|
||||||
<% @quality_analyses.each do |qa| %>
|
<% @quality_analyses.each do |qa| %>
|
||||||
<ul class="analysis-result-list">
|
<ul class="analysis-result-list">
|
||||||
<li title="Name" title="名称"><%=link_to "#{qa.author_login}:#{qa.rep_identifier}", project_quality_analysis_path(:resource_id => qa.sonar_name, :branch => (qa.branch.nil? ? "master" : qa.branch)), :class => "analysis-result-name fl fontBlue2 hidden" %></li>
|
<li title="<%= qa.author_login+ ':' +qa.rep_identifier %>"><%=link_to "#{qa.author_login}:#{qa.rep_identifier}", project_quality_analysis_path(:resource_id => qa.sonar_name, :branch => (qa.branch.nil? ? "master" : qa.branch)), :class => "analysis-result-name fl fontBlue2 hidden" %></li>
|
||||||
<li class="analysis-result-version fl fontBlue2 hidden" title="分支名"><%= qa.branch %></li>
|
<li class="analysis-result-version fl fontBlue2 hidden" title="<%= qa.branch %>"><%= qa.branch %></li>
|
||||||
<li class="analysis-result-loc fl fontBlue2 hidden" title="语言"><%= qa.language %></li>
|
<li class="analysis-result-loc fl fontBlue2 hidden" title="<%= qa.language %>"><%= qa.language %></li>
|
||||||
<li class="analysis-result-debt fl fontBlue2 hidden" title="路径"><%= qa.path %></li>
|
<li class="analysis-result-debt fl fontBlue2 hidden" title="<%= qa.path %>"><%= qa.path %></li>
|
||||||
|
<li class="analysis-result-debt fl fontBlue2 hidden" title="<%= qa.path %>"><%= qa.path %></li>
|
||||||
<% if User.current.try(:login) == qa.author_login || User.current.admin? || is_project_manager?(User.current.id, @project.id) %>
|
<% if User.current.try(:login) == qa.author_login || User.current.admin? || is_project_manager?(User.current.id, @project.id) %>
|
||||||
<li class="analysis-result-time fl" title="编辑">
|
<li class="analysis-result-time fl" title="编辑">
|
||||||
<%=link_to "编辑", edit_project_quality_analysi_path(qa, :project_id => @project.id), :remote => true, :class => "fontBlue2" %><span style="color: #888"> / </span>
|
<%=link_to "编辑", edit_project_quality_analysi_path(qa, :project_id => @project.id), :remote => true, :class => "fontBlue2" %><span style="color: #888"> / </span>
|
||||||
|
|
Loading…
Reference in New Issue