Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <web-client> network : displaying update button if a patch is available only
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Wed, 16 Sep 2009 16:52:06 +0200
  • Message-id: <E1Mo1sM-0001iF-0G@xxxxxxxxxxxxxxxx>
ref: refs/heads/network
commit 2a86bcfc6ea487fb2f4f296e04f7b6bbc5f44cdb
Author: Stefan Schubert <schubi@xxxxxxx>
Date: Wed Sep 16 16:52:06 2009 +0200

displaying update button if a patch is available only
---
.../views/patch_updates/_patch_summary.html.erb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git
a/plugins/patch_updates/app/views/patch_updates/_patch_summary.html.erb
b/plugins/patch_updates/app/views/patch_updates/_patch_summary.html.erb
index 35fcb62..49b2c15 100644
--- a/plugins/patch_updates/app/views/patch_updates/_patch_summary.html.erb
+++ b/plugins/patch_updates/app/views/patch_updates/_patch_summary.html.erb
@@ -29,7 +29,7 @@
<% end %>
<span><%= label.join(", ") %></span>
<% end %>
- <% if not label.empty? %>
+ <% if patch[:security] > 0 or patch[:important] > 0 or patch[:optional] >
0%>
<%= button_to_remote "Update All", :update =>"status_patches", :url => {
:controller => :patch_updates, :action => :start_install_all}, :confirm =>
_("Updating all. Are you sure?") %>
<% end %>

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages