ref: refs/heads/master
commit 987d12d4466a9a84ba3f1b319e6bb91c676b6cea
Author: Klaus Kämpf
Date: Tue Jul 21 08:35:22 2009 +0200
Warn if host creation failed
---
webclient/app/controllers/hosts_controller.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/webclient/app/controllers/hosts_controller.rb b/webclient/app/controllers/hosts_controller.rb
index 3dfb9a1..ce9f177 100644
--- a/webclient/app/controllers/hosts_controller.rb
+++ b/webclient/app/controllers/hosts_controller.rb
@@ -54,6 +54,7 @@ class HostsController < ApplicationController
flash[:notice] = 'Host was successfully created.'
redirect_to :action => 'index'
else
+ flash[:warning] = 'Host creation failed.'
redirect_to :action => 'new'
end
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org