Skip to content

Commit

Permalink
[webui] Unify the appearance of the summary of build results for proj…
Browse files Browse the repository at this point in the history
…ects and packages
  • Loading branch information
Hemmo Nieminen authored and Esa Kulmala committed Dec 19, 2016
1 parent b945781 commit 4db0acc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/api/app/views/webui/project/_buildstatus.html.erb
Expand Up @@ -21,13 +21,17 @@
</td>
<% index += 1 %>
<% end %>
<td class="nowrap">
<td class="arch">
<div class="nowrap" style="margin: 0 0.5ex">
<%= repo_status_icon(@repostatushash[repository][arch], @repostatusdetailshash[repository][arch])%> <%= arch %>
</div>
</td>
<td style="width: 1%" class="nowrap">
<% counts.each do |code, count| %>
<span class="status_<%= code.to_s.gsub(/[- ]/, '_') %>">
<%= link_to("#{code}: #{count}", {:action => :monitor, valid_xml_id('repo_' + repository) => 1,
'arch_' + arch => 1, :project => params[:project], code => 1, :defaults => 0}, :rel => 'nofollow', :class => 'nowrap') %>
</span>
<%= sprite_tag('help', title: Buildresult.status_description(code)) %><br />
<% end %>
</td>
Expand Down

0 comments on commit 4db0acc

Please sign in to comment.