[Kimchi-devel] [PATCH 0/2 V5] Detect and enable help page from plugins tabs

Zhou Zheng Sheng zhshzhou at linux.vnet.ibm.com
Wed Oct 15 07:09:43 UTC 2014


Tested-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>

Help of original tabs can be opened.
Help of plugin tabs can be opened.
If there is no help file, the mouse icon becomes disabled when move over
the help menu item.

on 2014/10/15 13:04, Rodrigo Trujillo wrote:
> This patch set changes the way Kimchi loads Help pages of the tabs of
> the plugins.
> It also changes the Sample plugin, in order to demonstrate and show
> properly how to configure the a Help page
> 
> 
> V5:
>    - removed do_substituion. Use kimchi.config.PluginPaths
>    - make changes proposed by Aline in kimchi.main.js
> 
> 
> Rodrigo Trujillo (2):
>   Fix problems to open plugin's help pages
>   Changes in sample plugin to fix and improve help
> 
>  plugins/sample/sample.conf.in                      |  5 ++
>  plugins/sample/ui/config/tab-ext.xml               | 11 ++++-
>  plugins/sample/ui/pages/Makefile.am                |  2 +-
>  .../sample/ui/pages/help/en_US/sample-tab1.html    |  1 +
>  .../sample/ui/pages/help/en_US/sample-tab2.html    |  1 +
>  plugins/sample/ui/pages/sample-tab1.html.tmpl      | 30 ++++++++++++
>  plugins/sample/ui/pages/sample-tab2.html.tmpl      | 30 ++++++++++++
>  plugins/sample/ui/pages/tab.html.tmpl              | 30 ------------
>  ui/js/src/kimchi.main.js                           | 53 ++++++++++++++++------
>  9 files changed, 116 insertions(+), 47 deletions(-)
>  create mode 100644 plugins/sample/ui/pages/help/en_US/sample-tab1.html
>  create mode 100644 plugins/sample/ui/pages/help/en_US/sample-tab2.html
>  create mode 100644 plugins/sample/ui/pages/sample-tab1.html.tmpl
>  create mode 100644 plugins/sample/ui/pages/sample-tab2.html.tmpl
>  delete mode 100644 plugins/sample/ui/pages/tab.html.tmpl
> 


-- 
Zhou Zheng Sheng / 周征晟
E-mail: zhshzhou at linux.vnet.ibm.com
Telephone: 86-10-82454397




More information about the Kimchi-devel mailing list