Commit 737c0ad5 authored by Rafael Monnerat's avatar Rafael Monnerat

Do not display closed tickets

See merge request nexedi/slapos.core!448
parents 60a998b4 bff0b95a
......@@ -111,8 +111,6 @@ url_list = [
"gadget_erp5_page_slap_project_view.js",
"gadget_erp5_page_slap_regularisation_request_view.html",
"gadget_erp5_page_slap_regularisation_request_view.js",
"gadget_erp5_page_slap_rss_critical_ticket.html",
"gadget_erp5_page_slap_rss_critical_ticket.js",
"gadget_erp5_page_slap_rss_ticket.html",
"gadget_erp5_page_slap_rss_ticket.js",
"gadget_erp5_page_slap_sale_invoice_transaction_view.html",
......@@ -135,6 +133,8 @@ url_list = [
"gadget_erp5_page_slap_stop_instance_tree.html",
"gadget_erp5_page_slap_stop_instance_tree.js",
"gadget_erp5_page_slap_support_request_view.html",
"gadget_erp5_page_slap_all_ticket_list.html",
"gadget_erp5_page_slap_all_ticket_list.js",
"gadget_erp5_page_slap_ticket_list.html",
"gadget_erp5_page_slap_ticket_list.js",
"gadget_erp5_page_slap_ticket_view.js",
......
<!DOCTYPE html>
<html>
<!--
data-i18n=Title
data-i18n=Reference
data-i18n=State
data-i18n=Tickets
-->
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>Site List</title>
<!-- renderjs -->
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<!-- custom script -->
<script src="gadget_slapos_utils.js" type="text/javascript"></script>
<script src="gadget_erp5_page_slap_all_ticket_list.js" type="text/javascript"></script>
</head>
<body>
<div data-gadget-url="gadget_erp5_pt_form_list.html" data-gadget-scope="form_list"></div>
</body>
</html>
......@@ -16,7 +16,6 @@
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -59,15 +58,6 @@
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/1</string>
</tuple>
</value>
</item>
......@@ -81,17 +71,9 @@
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>creators</string> </key>
<value>
<tuple>
<string>cedric.le.ninivin</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_page_slap_rss_critical_ticket.html</string> </value>
<value> <string>gadget_erp5_page_slap_all_ticket_list.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -101,32 +83,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>rjs_gadget_erp5_page_slap_rss_critical_ticket_html</string> </value>
<value> <string>rjs_gadget_erp5_page_slap_all_ticket_list_html</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>modification_date</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1455284351.46</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -140,17 +101,11 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Slap Critical RSS Link</string> </value>
</item>
<item>
<key> <string>url_string</string> </key>
<value>
<none/>
</value>
<value> <string>Gadget SlapOS All Ticket List</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>001</string> </value>
<value> <string>003</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
......@@ -234,7 +189,7 @@
</tuple>
<state>
<tuple>
<float>1522845696.8</float>
<float>1668201889.89</float>
<string>UTC</string>
</tuple>
</state>
......@@ -283,7 +238,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>982.20960.21411.37939</string> </value>
<value> <string>1004.16900.23828.10905</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -301,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1583406796.03</float>
<float>1668201885.15</float>
<string>UTC</string>
</tuple>
</state>
......@@ -362,7 +317,7 @@
</tuple>
<state>
<tuple>
<float>1522845648.84</float>
<float>1668193624.07</float>
<string>UTC</string>
</tuple>
</state>
......
/*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(function (window, rJS, RSVP) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("updatePanel", "updatePanel")
.declareAcquiredMethod("redirect", "redirect")
.declareAcquiredMethod("reload", "reload")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("setSetting", "setSetting")
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("redirect", "redirect")
.declareAcquiredMethod("jio_post", "jio_post")
.declareAcquiredMethod("jio_allDocs", "jio_allDocs")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", 'notifySubmitted')
.declareAcquiredMethod("getTranslationList", "getTranslationList")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.allowPublicAcquisition('notifySubmit', function () {
return this.triggerSubmit();
})
.declareMethod("triggerSubmit", function () {
return this.element.querySelector('button[type="submit"]').click();
var argument_list = arguments;
return this.getDeclaredGadget('form_list')
.push(function (gadget) {
return gadget.triggerSubmit.apply(gadget, argument_list);
});
})
.declareMethod("render", function (options) {
.declareMethod("render", function () {
var gadget = this,
page_title_translation,
lines_limit,
tickets_translation,
translation_list = [
"Parent Relative Url",
"Your RSS URL",
"Your Critical RSS Feed Link"
"Title",
"Reference",
"State",
"Tickets"
];
if (options.jio_key === undefined) {
options.jio_key = "/";
}
return new RSVP.Queue()
.push(function () {
return gadget.getSetting("hateoas_url");
return RSVP.all([
gadget.getSetting("listbox_lines_limit", 20),
window.getSettingMe(gadget)
]);
})
.push(function (url) {
.push(function (setting) {
lines_limit = setting[0];
return RSVP.all([
gadget.getDeclaredGadget('form_view'),
gadget.jio_getAttachment(options.jio_key,
url + options.jio_key + "/Base_getCriticalFeedUrl"),
gadget.getDeclaredGadget('form_list'),
gadget.jio_get(setting[1]),
gadget.getTranslationList(translation_list)
]);
})
.push(function (result) {
page_title_translation = result[2][2];
var column_list = [
['title', result[2][0]],
['reference', result[2][1]],
['translated_simulation_state_title', result[2][2]]
];
tickets_translation = result[2][3];
return result[0].render({
erp5_document: {
"_embedded": {"_view": {
"my_relative_url": {
"description": "",
"title": result[2][0],
"default": options.jio_key,
"css_class": "",
"required": 1,
"editable": 1,
"key": "relative_url",
"hidden": 1,
"type": "StringField"
},
"my_rss_link": {
"description": "",
"title": result[2][1],
// I hope romain don't see this, please replace by a LinkField
"default": "<a target=_blank href=" + result[1].restricted_access_url + "> Link </a>",
"css_class": "",
"required": 1,
"listbox": {
"column_list": column_list,
"show_anchor": 0,
"default_params": {},
"editable": 0,
"key": "certificate",
"hidden": 0,
"type": "EditorField"
"editable_column_list": [],
"key": "slap_site_listbox",
"lines": lines_limit,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%20%28%22Support%20Request%22%2C%20%22Upgrade%20Decision%22%2C%20%22Regularisation%20Request%22%29%20AND%20destination_decision_reference%3A" + result[1].reference,
"portal_type": [],
"search_column_list": column_list,
"sort_column_list": column_list,
"sort": [["modification_date", "Descending"]],
"title": tickets_translation,
"type": "ListBox"
}
}},
"_links": {
......@@ -90,28 +89,34 @@
},
form_definition: {
group_list: [[
"center",
[["my_rss_link"], ["my_relative_url"]]
"bottom",
[["listbox"]]
]]
}
});
})
.push(function () {
return gadget.updatePanel({
jio_key: "support_request_module"
});
return gadget.getSetting('frontpage_gadget');
})
.push(function () {
.push(function (frontpage_gadget) {
return RSVP.all([
gadget.getUrlFor({command: 'change', options: {page: "slap_ticket_list"}})
gadget.getUrlFor({command: "change", options: {"page": "slap_add_ticket"}}),
gadget.getUrlFor({command: "change", options: {"page": "slap_rss_ticket"}}),
gadget.getUrlFor({command: "change", options: {"page": frontpage_gadget}}),
gadget.updatePanel({jio_key: "support_request_module"}),
gadget.getUrlFor({command: "change", options: {"page": "slap_ticket_list"}})
]);
})
.push(function (url_list) {
var header_dict = {
page_title: page_title_translation,
selection_url: url_list[0]
};
return gadget.updateHeader(header_dict);
.push(function (result) {
return gadget.updateHeader({
page_title: tickets_translation,
filter_action: true,
selection_url: result[2],
tab_url: result[4],
add_url: result[0],
rss_url: result[1]
});
});
});
}(window, rJS, RSVP));
......@@ -16,7 +16,6 @@
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -59,15 +58,6 @@
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/1</string>
</tuple>
</value>
</item>
......@@ -77,17 +67,9 @@
<none/>
</value>
</item>
<item>
<key> <string>creators</string> </key>
<value>
<tuple>
<string>cedric.le.ninivin</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_page_slap_rss_critical_ticket.js</string> </value>
<value> <string>gadget_erp5_page_slap_all_ticket_list.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -97,32 +79,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>rjs_gadget_erp5_page_slap_rss_critical_ticket_js</string> </value>
<value> <string>rjs_gadget_erp5_page_slap_all_ticket_list_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>modification_date</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1455284351.49</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -136,17 +97,11 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Slap Get Critical RSS Link</string> </value>
</item>
<item>
<key> <string>url_string</string> </key>
<value>
<none/>
</value>
<value> <string>Gadget SlapOS All Ticket List</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>001</string> </value>
<value> <string>002</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
......@@ -230,7 +185,7 @@
</tuple>
<state>
<tuple>
<float>1522845717.28</float>
<float>1668194061.16</float>
<string>UTC</string>
</tuple>
</state>
......@@ -279,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.11789.46518.18534</string> </value>
<value> <string>1004.16796.34626.45038</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -297,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1602258112.86</float>
<float>1668202765.66</float>
<string>UTC</string>
</tuple>
</state>
......@@ -358,7 +313,7 @@
</tuple>
<state>
<tuple>
<float>1522845703.18</float>
<float>1668193606.14</float>
<string>UTC</string>
</tuple>
</state>
......
<!doctype html>
<html>
<!--
data-i18n=Parent Relative Url
data-i18n=Your RSS URL
data-i18n=Your Critical RSS Feed Link
-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OfficeJS Add Text Document</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_slap_rss_critical_ticket.js"></script>
</head>
<body>
<form class="save_form ui-body-c" novalidate>
<button type="submit" class="ui-btn ui-btn-b ui-btn-inline
ui-icon-edit ui-btn-icon-right ui-screen-hidden"></button>
<div data-gadget-url="gadget_erp5_form.html"
data-gadget-scope="form_view"
data-gadget-sandbox="public">
</div>
</form>
</body>
</html>
......@@ -16,7 +16,6 @@
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -59,7 +58,6 @@
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -191,7 +189,7 @@
</tuple>
<state>
<tuple>
<float>1508398078.97</float>
<float>1668201861.78</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -71,7 +71,10 @@
"key": "slap_site_listbox",
"lines": lines_limit,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%20%28%22Support%20Request%22%2C%20%22Upgrade%20Decision%22%2C%20%22Regularisation%20Request%22%29%20AND%20destination_decision_reference%3A" + result[1].reference,
"query": "urn:jio:allDocs?query=portal_type%3A%20%28%22Support%20Request%22%2C%20%" +
"22Upgrade%20Decision%22%2C%20%22Regularisation%20Request%22%29%20AND%20" +
"simulation_state%3A%20%28%22suspended%22%2C%20%22validated%22%2C%20%22confirmed%22%2C%20%22started%22%29%20AND%20" +
"destination_decision_reference%3A" + result[1].reference,
"portal_type": [],
"search_column_list": column_list,
"sort_column_list": column_list,
......@@ -103,8 +106,8 @@
gadget.getUrlFor({command: "change", options: {"page": "slap_add_ticket"}}),
gadget.getUrlFor({command: "change", options: {"page": "slap_rss_ticket"}}),
gadget.getUrlFor({command: "change", options: {"page": frontpage_gadget}}),
gadget.getUrlFor({command: "change", options: {"page": "slap_rss_critical_ticket"}}),
gadget.updatePanel({jio_key: "support_request_module"})
gadget.updatePanel({jio_key: "support_request_module"}),
gadget.getUrlFor({command: "change", options: {"page": 'slap_all_ticket_list'}})
]);
})
.push(function (result) {
......@@ -114,7 +117,7 @@
selection_url: result[2],
add_url: result[0],
rss_url: result[1],
critical_url: result[3]
list_all_url: result[4]
});
});
});
......
......@@ -16,7 +16,6 @@
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -59,7 +58,6 @@
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......@@ -187,7 +185,7 @@
</tuple>
<state>
<tuple>
<float>1508398046.04</float>
<float>1668194508.48</float>
<string>UTC</string>
</tuple>
</state>
......@@ -236,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1001.59377.44199.3498</string> </value>
<value> <string>1004.16914.46845.35908</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1659068844.09</float>
<float>1668203512.68</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -245,8 +245,7 @@
"Pending Tickets to Process",
"Dashboard",
"Show All Tickets",
"RSS",
"Critical"
"RSS"
];
return new RSVP.Queue()
.push(function () {
......@@ -254,8 +253,7 @@
gadget.getDeclaredGadget('last'),
gadget.getTranslationList(translation_list1),
gadget.getUrlFor({command: 'change', options: {page: "slap_ticket_list"}}),
gadget.getUrlFor({command: 'change', options: {page: "slap_rss_ticket"}}),
gadget.getUrlFor({command: 'change', options: {page: "slap_rss_critical_ticket"}})
gadget.getUrlFor({command: 'change', options: {page: "slap_rss_ticket"}})
]);
})
.push(function (result) {
......@@ -271,11 +269,7 @@
domsugar("a",
{"class": "ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss",
"text": result[1][6],
"href": result[3]}),
domsugar("a",
{"class": "ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss",
"text": result[1][7],
"href": result[4]})
"href": result[3]})
])
]),
div_bottom_header = gadget.element.querySelector(".box-gadget-bottom-header"),
......
......@@ -247,7 +247,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1001.59393.60810.27067</string> </value>
<value> <string>1004.6436.36702.26948</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -265,7 +265,7 @@
</tuple>
<state>
<tuple>
<float>1659068824.06</float>
<float>1668205150.06</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -39,6 +39,8 @@ web_page_module/rjs_gadget_erp5_page_slap_add_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_add_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_all_invoice_list_html
web_page_module/rjs_gadget_erp5_page_slap_all_invoice_list_js
web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_html
web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_js
web_page_module/rjs_gadget_erp5_page_slap_close_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_close_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_compute_node_get_token_html
......@@ -115,8 +117,6 @@ web_page_module/rjs_gadget_erp5_page_slap_project_view_html
web_page_module/rjs_gadget_erp5_page_slap_project_view_js
web_page_module/rjs_gadget_erp5_page_slap_regularisation_request_view_html
web_page_module/rjs_gadget_erp5_page_slap_regularisation_request_view_js
web_page_module/rjs_gadget_erp5_page_slap_rss_critical_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_rss_critical_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_rss_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_rss_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_sale_invoice_transaction_view_html
......
......@@ -36,6 +36,8 @@ web_page_module/rjs_gadget_erp5_page_slap_add_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_add_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_all_invoice_list_html
web_page_module/rjs_gadget_erp5_page_slap_all_invoice_list_js
web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_html
web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_js
web_page_module/rjs_gadget_erp5_page_slap_close_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_close_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_compute_node_get_token_html
......@@ -116,8 +118,6 @@ web_page_module/rjs_gadget_erp5_page_slap_project_view_html
web_page_module/rjs_gadget_erp5_page_slap_project_view_js
web_page_module/rjs_gadget_erp5_page_slap_regularisation_request_view_html
web_page_module/rjs_gadget_erp5_page_slap_regularisation_request_view_js
web_page_module/rjs_gadget_erp5_page_slap_rss_critical_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_rss_critical_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_rss_ticket_html
web_page_module/rjs_gadget_erp5_page_slap_rss_ticket_js
web_page_module/rjs_gadget_erp5_page_slap_sale_invoice_transaction_view_html
......
......@@ -509,6 +509,18 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/access_menu_item" />
</tal:block>
<tal:block tal:define="pagination_configuration python: {'header': '(0)', 'footer': 'No records'}">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/check_listbox_pagination_text" />
</tal:block>
<tr>
<td colspan="3"><b tal:content="python: 'Click on Show all'"> Menu Item </b></td>
</tr>
<tal:block define="menu_action python: 'Show all'">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/click_submenu_action" />
</tal:block>
<tal:block tal:define="pagination_configuration python: {'header': '(1)', 'footer': '${count} Records'};
dummy python: context.REQUEST.set('mapping', {'count': '1'})">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/check_listbox_pagination_text" />
......
......@@ -347,6 +347,18 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/access_menu_item" />
</tal:block>
<tal:block tal:define="pagination_configuration python: {'header': '(0)', 'footer': 'No records'}">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/check_listbox_pagination_text" />
</tal:block>
<tr>
<td colspan="3"><b tal:content="python: 'Click on Show all'"> Menu Item </b></td>
</tr>
<tal:block define="menu_action python: 'Show all'">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/click_submenu_action" />
</tal:block>
<tal:block tal:define="pagination_configuration python: {'header': '(1)', 'footer': '${count} Records'};
dummy python: context.REQUEST.set('mapping', {'count': '1'})">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/check_listbox_pagination_text" />
......
......@@ -284,6 +284,19 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/access_menu_item" />
</tal:block>
<tal:block tal:define="pagination_configuration python: {'header': '(0)', 'footer': 'No records'}">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/check_listbox_pagination_text" />
</tal:block>
<tr>
<td colspan="3"><b tal:content="python: 'Click on Show all'"> Menu Item </b></td>
</tr>
<tal:block define="menu_action python: 'Show all'">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/click_submenu_action" />
</tal:block>
<tal:block tal:define="pagination_configuration python: {'header': '(1)', 'footer': '${count} Records'};
dummy python: context.REQUEST.set('mapping', {'count': '1'})">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/check_listbox_pagination_text" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment