Mercurial > libervia-templates
comparison sat_templates/templates/bulma/merge-request/item.html @ 298:1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 28 Jan 2021 18:42:59 +0100 |
parents | 40fccd3b7cf0 |
children |
comparison
equal
deleted
inserted
replaced
297:0657982e81af | 298:1c330913ff13 |
---|---|
1 {# display a single ticket | 1 {# display a single list item |
2 | 2 |
3 @variable item(xmlui_item): ticket to display | 3 @variable item(xmlui_item): item to display |
4 @variable comments(data_object.BlogItems): comments of the ticket | 4 @variable comments(data_object.BlogItems): comments of the item |
5 @variable comments_service(unicode): service for adding comments | 5 @variable comments_service(unicode): service for adding comments |
6 @variable comments_node(unicode): node for adding comments | 6 @variable comments_node(unicode): node for adding comments |
7 #} | 7 #} |
8 | 8 |
9 {% set category_menu = [('merge-requests', url_tickets_list), | 9 {% set category_menu = [('merge-requests', url_list_items), |
10 ('merge-request_new', url_tickets_new)] %} | 10 ('merge-request_new', url_list_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 'components/avatar.html' as avatar with context %} | 13 {% import 'components/avatar.html' as avatar with context %} |
14 {% import 'blog/macros.html' as blog with context %} | 14 {% import 'blog/macros.html' as blog with context %} |
15 {% import 'input/textbox.html' as textbox with context %} | 15 {% import 'input/textbox.html' as textbox with context %} |
63 <div class="comment_post"> | 63 <div class="comment_post"> |
64 {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}} | 64 {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}} |
65 </div> | 65 </div> |
66 {% endif %} | 66 {% endif %} |
67 </div> | 67 </div> |
68 {% if url_ticket_edit is defined %} | 68 {% if url_list_item_edit is defined %} |
69 <div class="media-right"> | 69 <div class="media-right"> |
70 <a href="{{url_ticket_edit}}"> | 70 <a href="{{url_list_item_edit}}"> |
71 {{ icon('pencil', cls='icon is-64x64') }} | 71 {{ icon('pencil', cls='icon is-64x64') }} |
72 </a> | 72 </a> |
73 </div> | 73 </div> |
74 {% endif %} | 74 {% endif %} |
75 </div> | 75 </div> |