From b3f6d0edb05cc0c0981e14a937084d933777853a Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 27 Apr 2017 13:43:44 +0200 Subject: [PATCH] Bugfix: corrected jinja raw handling --- docs/index.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index c97cc1345..303f2e2e5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -251,13 +251,13 @@ Example:: :sort_by: id :layout: list -This prints a list with all found needs, which match the filters for status and tags. +This prints a list with all found needs, which match the filters for status, tags and types. For **:status:**, **:tags:** and **:types:** values are separated by "**;**". The logic is as followed:: status = (open OR in_progress) AND tags = (user OR login) AND types = (req OR spec) -For **:types:** the type itself and the human-readable type_name can be used as filter value. +For **:types:** the type itself and the human-readable type_title can be used as filter value. If **:show_status:** / **:show_tags:** is given, the related information will be shown after the name of the need. @@ -358,9 +358,9 @@ If nothing is set, the following default template is used: .. code-block:: jinja + {% raw -%} .. _{{id}}: - {% raw -%} {% if hide == false -%} {{type_name}}: **{{title}}** ({{id}}) @@ -422,7 +422,9 @@ By default the following template is used: .. code-block:: jinja + {% raw -%} {{type_name}}\\n**{{title}}**\\n{{id}} + {% endraw %} .. _needs_id_required: