Mailinglist Archive: opensuse-buildservice (314 mails)

< Previous Next >
[opensuse-buildservice] webclient patch
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Fri, 11 Jan 2008 10:35:51 +0100 (CET)
  • Message-id: <alpine.LNX.1.00.0801111034410.30547@xxxxxxxxxxxxxxxxx>
Hello,

attached is a little patch to the webpage for status monitor:

a) adding sorting
b) removed redundant stuff due to new design

Ciao
--
http://www.dstoecker.eu/ (PGP key available)Index: app/views/project/monitor.rhtml
===================================================================
--- app/views/project/monitor.rhtml (Revision 2947)
+++ app/views/project/monitor.rhtml (Arbeitskopie)
@@ -7,7 +7,6 @@
]
-%>

-<h2>Project <%=h @project %> Status Monitor</h2>
<div id="monitor-wrapper">

<p id="info_message" style="display:none;"></p>
@@ -30,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 -%>
@@ -42,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)
@@ -85,7 +84,4 @@
</div>
</p>
<% end -%>
-
-<p><%= link_to "[Back to #{@project}]", :action => :show, :project => @project
%></p>
-<p><%= link_to "[Build Status Monitor]", :controller => "monitor", :action =>
:index %></p>
</div>
< Previous Next >
Follow Ups