Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
[opensuse-buildservice] Illegal link in webclient (PATCH)
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Mon, 19 Feb 2007 11:54:17 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0702191149290.3077@xxxxxxxxxxxxxxxxx>
Hello,

there is an illegal link in package download button:

Change: file --> file[:name]

Index: app/views/package/_files.rhtml
===================================================================
--- app/views/package/_files.rhtml (Revision 1276)
+++ app/views/package/_files.rhtml (Arbeitskopie)
@@ -17,10 +17,10 @@
:package => @package, :file => file[:name] ) %>
<% end %>
</td>
- <td><%= link_to "[Download]", file_url( @project, @package, file ) %></td>
+ <td><%= link_to "[Download]", file_url( @project, @package, file[:name] ) %></td>
<td><%= link_to "[Remove]", {:action => :remove_file, :project => @project,
:package => @package, :filename => file[:name]},
- {:confirm => "Really remove file '#{file}'?" }%></td>
+ {:confirm => "Really remove file '#{file[:name]}'?" }%></td>
<td>
<% if @link && @link.has_add_patch?( file[:name] ) %>
(Added Patch)

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups