On Monday 24 of August 2009 12:33:42 Klaus Kaempf wrote:
* Ladislav Slezak <lslezak@suse.cz> [Aug 21. 2009 11:47]:
Web UI (webclient) ================== - testsuite - design the UI (talk to mschmidkunz), may be different for System vs. Custom services
The question is if vendors would like to change "Custom Services" to a better name (with real service name).
The'll certainly do.
With current implementation they need to change the name directly in .yml config file. Is that OK?
I'd guess so. But how does this match with translations ?
Currently, there's one shortcuts.yml in 'services' plugin, containing items for system services and custom services. Better solution could be: Create a new 'almost-empty' plugin custom-services (on webclient side). Such plugin would basically contain only its shortcuts.yml, example one would look like this: main: url: /services?custom=1 groups: [ Services ] tags: [ init, script, service ] title: Custom Service description: Manage custom service (So it's pointing to standard services plugin, which contains the actual functionality). Such plugin would be easily packaged in separate package (yast2-webclient-custom-services), and thus also easily available to include/exclude from control center. Vendor installing such package could only edit this one file to show the name of vendor specific service directly in the control center: main: title: IBM Service description: This is a big and blue service start and stop tool (ideally also the icon, currently we expect them in global webclient/public/icons directory) Directory structure looks this way: .../web-client/plugins/custom_services> ls -1 app config package README shortcuts.yml Looks like that such simple plugin without any real functionality is possible, but it is registered only when it contains "app" directory (it can be empty, though). Does anyone know if such requirement is necessary from the rails side? Or how does control center code know about list of available plugins? Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. e-mail: jsuchome@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org