You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.8 KiB

10 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data noupdate="1">
  4. <template id="tpl_help">
  5. <t t-call="report.html_container">
  6. <t t-call="report.internal_layout">
  7. <t t-foreach="docs" t-as="o">
  8. <div class="page">
  9. <div class="pull-right bg-sucess">
  10. <t t-set="action_id" t-value="o.env.ref('help_popup.action_help_popup_form').id" />
  11. <a t-attf-href="/report/html/help_popup.all_help/{{ o.id }}" class="btn btn-success btn-xs" title="Click to see documentation for the whole menu">
  12. <span t-raw="o.get_main_menu().name"/> help</a>
  13. <a t-attf-href="/web#id={{ o.id }}&amp;view_type=form&amp;model=ir.actions.act_window&amp;action={{ action_id }}" class="btn btn-danger btn-xs" title="Edit this documentation">Edit</a>
  14. <br/>
  15. </div>
  16. <br/>
  17. <div class="bg-warning" style="padding:5px;" t-if="o.enduser_help_model or o.enduser_help">
  18. <div class="oe_text_center label label-info">Internal</div>
  19. <div t-if="o.enduser_help_model" t-raw="o.enduser_help_model"/>
  20. <div t-if="o.enduser_help" t-raw="o.enduser_help"/>
  21. <hr width="70%"/>
  22. </div>
  23. <div t-if="o.advanced_help_model or o.advanced_help">
  24. <div class="oe_text_center label label-info" title="Odoo Community Association (OCA) maintains several modules with high quality level">Odoo Community</div>
  25. <div t-if="o.advanced_help_model" t-raw="o.advanced_help_model"/>
  26. <div t-if="o.advanced_help" t-raw="o.advanced_help"/>
  27. <hr width="70%"/>
  28. </div>
  29. <div t-if="o.help">
  30. <div class="oe_text_center label label-info" title="Help from Odoo editor">Odoo</div>
  31. <div t-if="o.help" t-raw="o.help"/>
  32. <hr width="70%"/>
  33. </div>
  34. <div>Use <kbd>Ctrl + P</kbd> to print this document</div>
  35. </div>
  36. <!--end foreach-->
  37. </t>
  38. </t>
  39. </t>
  40. </template>
  41. </data>
  42. </openerp>