Mercurial > libervia-templates
diff 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 |
line wrap: on
line diff
--- a/default/ticket/item.html Tue Jan 30 07:47:21 2018 +0100 +++ b/default/ticket/item.html Tue Jan 30 07:47:23 2018 +0100 @@ -11,7 +11,7 @@ {% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% import 'input/xmlui.html' as xmlui with context %} {% import 'blog/macros.html' as blog with context %} -{% import 'input/comment.html' as comment with context %} +{% import 'input/textbox.html' as textbox with context %} {% block title %}{{item|adv_format('[{value.widget_value.id}] {value.widget_value.title}') }}{% endblock %} @@ -35,7 +35,7 @@ {% endif %} {% if comments_node is defined %} <div class="comment_post"> - {{- comment.comment_or_login(service=comments_service, node=comments_node) -}} + {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}} </div> {% endif %} {% endblock body %}