Mercurial > libervia-templates
comparison default/ticket/item.html @ 57:50957f0669b9
ticket/item: URLs in body are now clickable
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 05 Nov 2017 23:38:09 +0100 |
parents | ea67eba3199d |
children | e7b62f6980a1 |
comparison
equal
deleted
inserted
replaced
56:ea67eba3199d | 57:50957f0669b9 |
---|---|
19 | 19 |
20 {% block body %} | 20 {% block body %} |
21 <div id="{{ item.widget_value['id'] }}" class="view single ticket box"> | 21 <div id="{{ item.widget_value['id'] }}" class="view single ticket box"> |
22 {{ xmlui.generate(item, | 22 {{ xmlui.generate(item, |
23 form=false, | 23 form=false, |
24 filters={'created': {'filters': ['date_fmt'], filters_args:[{'fmt': 'short'}]}, | 24 filters={'created': {'filters': ['date_fmt'], 'filters_args':[{'fmt': 'short'}]}, |
25 'updated': {'filters': ['date_fmt'], filters_args:[{'fmt': 'short'}]}}, | 25 'updated': {'filters': ['date_fmt'], 'filters_args':[{'fmt': 'short'}]}, |
26 'body': {'filters': ['urlize'], 'filters_args':[{'nofollow': True, 'rel': 'noopener noreferrer'}]}}, | |
26 )}} | 27 )}} |
27 </div> | 28 </div> |
28 {% if comments is defined %} | 29 {% if comments is defined %} |
29 <div id="blog_items"> | 30 <div id="blog_items"> |
30 {{ blog.show_items(comments|reverse, expanded=true) }} | 31 {{ blog.show_items(comments|reverse, expanded=true) }} |