diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-09-24 16:59:15 +0000 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-09-24 17:45:37 +0000 |
| commit | d67b2483e5bfa5d8c1e6ef1a64fb933f5e080ad5 (patch) | |
| tree | 25a7fd39ac993f3c04c5d8408beb628b3c9948ce /doc/reference/qweb.rst | |
| parent | 38d8b0526f0fccc32df5a11f5d086a3522ed5fcf (diff) | |
| parent | 9ed4872ea03f28012118ed48a43d0800617a84f3 (diff) | |
[MERGE] forward port branch saas-12.4 up to 9ed4872ea03
closes odoo/odoo#37372
Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'doc/reference/qweb.rst')
| -rw-r--r-- | doc/reference/qweb.rst | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/doc/reference/qweb.rst b/doc/reference/qweb.rst index 541788d508c..4bec9c900cf 100644 --- a/doc/reference/qweb.rst +++ b/doc/reference/qweb.rst @@ -42,7 +42,7 @@ will result in:: .. _reference/qweb/output: -data output +Data output =========== QWeb has a primary output directive which automatically HTML-escape its @@ -63,7 +63,7 @@ sanitized user-provided markup. .. _reference/qweb/conditionals: -conditionals +Conditionals ============ QWeb has a conditional directive ``if``, which evaluates an expression given @@ -107,7 +107,7 @@ available:: .. _reference/qweb/loops: -loops +Loops ===== QWeb has an iteration directive ``foreach`` which take an expression returning @@ -335,7 +335,7 @@ Python Exclusive directives -------------------- -asset bundles +Asset bundles ''''''''''''' .. todo:: have fme write these up because I've no idea how they work @@ -351,7 +351,7 @@ website's rich text edition. ``t-options`` can be used to customize fields, the most common option is ``widget``, other options are field- or widget-dependent. -debugging +Debugging --------- ``t-debug`` @@ -552,6 +552,8 @@ Helpers :js:func:`core.qweb.render <QWeb2.Engine.render>` can be used to easily render basic module templates +.. _reference/qweb/api: + API --- @@ -638,13 +640,13 @@ API use case. Odoo 9.0 still depends on Jinja_ and Mako_. .. _templating: - http://en.wikipedia.org/wiki/Template_processor + https://en.wikipedia.org/wiki/Template_processor .. _Jinja: http://jinja.pocoo.org -.. _Mako: http://www.makotemplates.org -.. _Genshi: http://genshi.edgewall.org -.. _XML namespaces: http://en.wikipedia.org/wiki/XML_namespace -.. _HTML: http://en.wikipedia.org/wiki/HTML -.. _XSS: http://en.wikipedia.org/wiki/Cross-site_scripting +.. _Mako: https://www.makotemplates.org +.. _Genshi: https://genshi.edgewall.org +.. _XML namespaces: https://en.wikipedia.org/wiki/XML_namespace +.. _HTML: https://en.wikipedia.org/wiki/HTML +.. _XSS: https://en.wikipedia.org/wiki/Cross-site_scripting .. _JSON: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON -.. _CSS selector: http://api.jquery.com/category/selectors/ +.. _CSS selector: https://api.jquery.com/category/selectors/ |
