Mercurial > libervia-templates
comparison default/ticket/item.html @ 116:da8f1ba9034d
input/comment: renamed "comment" library to "textbox", and made it more generic
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 30 Jan 2018 07:47:23 +0100 |
parents | 18d00a8afc4d |
children | 24920d436e77 |
comparison
equal
deleted
inserted
replaced
115:5d9e2270ceb4 | 116:da8f1ba9034d |
---|---|
9 {% set category_menu = [('tickets_list', url_tickets_list), | 9 {% set category_menu = [('tickets_list', url_tickets_list), |
10 ('ticket_new', url_tickets_new)] %} | 10 ('ticket_new', url_tickets_new)] %} |
11 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} | 11 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
12 {% import 'input/xmlui.html' as xmlui with context %} | 12 {% import 'input/xmlui.html' as xmlui with context %} |
13 {% import 'blog/macros.html' as blog with context %} | 13 {% import 'blog/macros.html' as blog with context %} |
14 {% import 'input/comment.html' as comment with context %} | 14 {% import 'input/textbox.html' as textbox with context %} |
15 | 15 |
16 {% block title %}{{item|adv_format('[{value.widget_value.id}] {value.widget_value.title}') }}{% endblock %} | 16 {% block title %}{{item|adv_format('[{value.widget_value.id}] {value.widget_value.title}') }}{% endblock %} |
17 | 17 |
18 {% block confirm_message %} | 18 {% block confirm_message %} |
19 {% trans %}Your comment has been sent{% endtrans %} | 19 {% trans %}Your comment has been sent{% endtrans %} |
33 {{ blog.show_items(comments|reverse, expanded=true) }} | 33 {{ blog.show_items(comments|reverse, expanded=true) }} |
34 </div> | 34 </div> |
35 {% endif %} | 35 {% endif %} |
36 {% if comments_node is defined %} | 36 {% if comments_node is defined %} |
37 <div class="comment_post"> | 37 <div class="comment_post"> |
38 {{- comment.comment_or_login(service=comments_service, node=comments_node) -}} | 38 {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}} |
39 </div> | 39 </div> |
40 {% endif %} | 40 {% endif %} |
41 {% endblock body %} | 41 {% endblock body %} |