diff options
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/ |
