[yast-commit] <web-client> master : - show a message when no custom service is defined (bnc#556110) - 0.0.12
ref: refs/heads/master commit 44c358366d977385752dccd5962b7e9811cdd58a Author: Jiri Suchomel <jsuchome@suse.cz> Date: Wed Nov 18 13:54:00 2009 +0100 - show a message when no custom service is defined (bnc#556110) - 0.0.12 --- plugins/services/app/views/services/index.rhtml | 4 +++- .../package/yast2-webclient-services.changes | 6 ++++++ .../services/package/yast2-webclient-services.spec | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/services/app/views/services/index.rhtml b/plugins/services/app/views/services/index.rhtml index c976d53..52a3cfb 100644 --- a/plugins/services/app/views/services/index.rhtml +++ b/plugins/services/app/views/services/index.rhtml @@ -16,7 +16,9 @@ end <div class="plugin-content grid_12"> -<% unless @permissions[:execute] %> +<% if @services.empty? && params.has_key?("custom") %> +<p><%=_("No custom service is defined on target machine.") %></p> +<% elsif ! @permissions[:execute] %> <p><%=_("You do not have permission to execute the services. The links are disabled.")%></p> <% end %> diff --git a/plugins/services/package/yast2-webclient-services.changes b/plugins/services/package/yast2-webclient-services.changes index 3e930ad..be72dbb 100644 --- a/plugins/services/package/yast2-webclient-services.changes +++ b/plugins/services/package/yast2-webclient-services.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Nov 18 13:23:20 CET 2009 - jsuchome@suse.cz + +- show a message when no custom service is defined (bnc#556110) +- 0.0.12 + +------------------------------------------------------------------- Thu Nov 12 13:06:40 CET 2009 - jsuchome@suse.cz - mschmidkunz: UI fixes diff --git a/plugins/services/package/yast2-webclient-services.spec b/plugins/services/package/yast2-webclient-services.spec index 5b8d2ac..3d6a669 100644 --- a/plugins/services/package/yast2-webclient-services.spec +++ b/plugins/services/package/yast2-webclient-services.spec @@ -15,7 +15,7 @@ Provides: yast2-webclient:/srv/www/yast/app/controllers/services_controlle License: GPL v2 only Group: Productivity/Networking/Web/Utilities Autoreqprov: on -Version: 0.0.11 +Version: 0.0.12 Release: 0 Summary: YaST2 - Webclient - Services Source: www.tar.bz2 -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
Jiri Suchomel