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

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Wed Oct 15 05:04:40 UTC 2014


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

-- 
1.9.3




More information about the Kimchi-devel mailing list