Mailinglist Archive: opensuse-buildservice (366 mails)
| < Previous | Next > |
[opensuse-buildservice] Minor WebGUI fix
- From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
- Date: Fri, 17 Aug 2007 13:09:53 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0708171259100.26428@xxxxxxxxxxxxxxxxx>
Hello,
the attached patch unifies sorting at Build status monitor page (at least
I hope so, was unable to get the webclient running locally).
On the package display the right side with the build status also has
unsorted architecture, see e.g. SLE_10 at
http://build.opensuse.org/package/show?package=grass&project=home%3Adstoecker
but I was unable to fix it.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)Index: webclient/app/views/project/monitor.rhtml
===================================================================
--- webclient/app/views/project/monitor.rhtml (Revision 2002)
+++ webclient/app/views/project/monitor.rhtml (Arbeitskopie)
@@ -20,7 +20,7 @@
<!-- repo row -->
<tr class="header">
<td></td>
- <% @repohash.sort.each do |repo,archlist| -%>
+ <% @repohash.sort.each do |repo,| -%>
<th colspan="<%=h archlist.length %><strong>"><%=h repo %></strong></th>
<% end -%>
<th> </th>
@@ -29,7 +29,7 @@
<tr>
<td></td>
<% @repohash.sort.each do |repo, archlist| -%>
- <% archlist.each do |arch| -%>
+ <% archlist.sort.each do |arch| -%>
<th><%=h arch %></th>
<% end -%>
<% end -%>
@@ -41,7 +41,7 @@
<td><%= link_to packname, :controller => "package", :action => "show",
:package => packname, :project => @project.to_s %></td>
<% @repohash.sort.each do |repo, archlist| -%>
- <% archlist.each do |arch| -%>
+ <% archlist.sort.each do |arch| -%>
<%
status = status_for(repo, arch, packname)
status_id = status_id_for( repo, arch, packname)
the attached patch unifies sorting at Build status monitor page (at least
I hope so, was unable to get the webclient running locally).
On the package display the right side with the build status also has
unsorted architecture, see e.g. SLE_10 at
http://build.opensuse.org/package/show?package=grass&project=home%3Adstoecker
but I was unable to fix it.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)Index: webclient/app/views/project/monitor.rhtml
===================================================================
--- webclient/app/views/project/monitor.rhtml (Revision 2002)
+++ webclient/app/views/project/monitor.rhtml (Arbeitskopie)
@@ -20,7 +20,7 @@
<!-- repo row -->
<tr class="header">
<td></td>
- <% @repohash.sort.each do |repo,archlist| -%>
+ <% @repohash.sort.each do |repo,| -%>
<th colspan="<%=h archlist.length %><strong>"><%=h repo %></strong></th>
<% end -%>
<th> </th>
@@ -29,7 +29,7 @@
<tr>
<td></td>
<% @repohash.sort.each do |repo, archlist| -%>
- <% archlist.each do |arch| -%>
+ <% archlist.sort.each do |arch| -%>
<th><%=h arch %></th>
<% end -%>
<% end -%>
@@ -41,7 +41,7 @@
<td><%= link_to packname, :controller => "package", :action => "show",
:package => packname, :project => @project.to_s %></td>
<% @repohash.sort.each do |repo, archlist| -%>
- <% archlist.each do |arch| -%>
+ <% archlist.sort.each do |arch| -%>
<%
status = status_for(repo, arch, packname)
status_id = status_id_for( repo, arch, packname)
| < Previous | Next > |