-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webui] fixes for the overview page for packages
- Loading branch information
Showing
5 changed files
with
84 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<div id="package_buildstatus"> | ||
<% if not @project.has_element?(:repository) %> | ||
<p><i>The project this package belongs to currently has no <%= link_to "build targets", :controller => :project, :action => 'add_repository_from_default_list', :project => @project %> defined. </i></p> | ||
<% elsif @buildresult.blank? %> | ||
<p><i>No build result available</i></p> | ||
<% else %> | ||
|
||
<table class="repostatus"> | ||
<% @buildresult.each do |r,archs| | ||
index = 0 | ||
archs.each do |a| | ||
-%> | ||
<tr> | ||
<% if index == 0 %> | ||
<td class="nowrap" title="<%= r %>" rowspan="<%= archs.length %>"> | ||
<%= link_to(elide(r, 26), {:action => :binaries, :controller => :package, :project => @project, :package => @package, :repository => r}, {:title => "Binaries for #{r}"}) %> | ||
</td> | ||
<% index += 1 -%> | ||
<% end # if -%> | ||
<td class="arch"> | ||
<div class="nowrap" style="margin: 0 0.5ex"> | ||
<%= repo_status_icon @repostatushash[r][a] %> <%= a %> | ||
</div> | ||
</td> | ||
<%= arch_repo_table_cell r, a, @package.name %> | ||
</tr> | ||
<% end # all archs -%> | ||
<% end # all builds -%> | ||
</table> | ||
<% end # if -%> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters