diff 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
line wrap: on
line diff
--- a/sat_templates/templates/bulma/merge-request/item.html	Fri Dec 11 17:30:47 2020 +0100
+++ b/sat_templates/templates/bulma/merge-request/item.html	Thu Jan 28 18:42:59 2021 +0100
@@ -1,13 +1,13 @@
-{# display a single ticket
+{# display a single list item
 
-    @variable item(xmlui_item): ticket to display
-    @variable comments(data_object.BlogItems): comments of the ticket
+    @variable item(xmlui_item): item to display
+    @variable comments(data_object.BlogItems): comments of the item
     @variable comments_service(unicode): service for adding comments
     @variable comments_node(unicode): node for adding comments
 #}
 
-{% set category_menu = [('merge-requests', url_tickets_list),
-                        ('merge-request_new', url_tickets_new)] %}
+{% set category_menu = [('merge-requests', url_list_items),
+                        ('merge-request_new', url_list_new)] %}
 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
 {% import 'input/xmlui.html' as xmlui with context %}
 {% import 'components/avatar.html' as avatar with context %}
@@ -65,9 +65,9 @@
                                 </div>
                             {% endif %}
                         </div>
-                        {% if url_ticket_edit is defined %}
+                        {% if url_list_item_edit is defined %}
                             <div class="media-right">
-                                <a href="{{url_ticket_edit}}">
+                                <a href="{{url_list_item_edit}}">
                                     {{ icon('pencil', cls='icon is-64x64') }}
                                 </a>
                             </div>