Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
737c0ad5
Commit
737c0ad5
authored
Nov 17, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
Do not display closed tickets
See merge request
nexedi/slapos.core!448
parents
60a998b4
bff0b95a
Pipeline
#24854
failed with stage
in 0 seconds
Changes
16
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
229 additions
and
171 deletions
+229
-171
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_base/WebSection_getHostingJSPrecacheManifestList.py
...lapos_base/WebSection_getHostingJSPrecacheManifestList.py
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_html.html
...odule/rjs_gadget_erp5_page_slap_all_ticket_list_html.html
+27
-0
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_html.xml
...module/rjs_gadget_erp5_page_slap_all_ticket_list_html.xml
+9
-54
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_js.js
...ge_module/rjs_gadget_erp5_page_slap_all_ticket_list_js.js
+122
-0
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_js.xml
...e_module/rjs_gadget_erp5_page_slap_all_ticket_list_js.xml
+9
-54
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_rss_critical_ticket_html.html
...e/rjs_gadget_erp5_page_slap_rss_critical_ticket_html.html
+0
-31
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_html.xml
...age_module/rjs_gadget_erp5_page_slap_ticket_list_html.xml
+1
-3
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.js
...b_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.js
+8
-5
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.xml
..._page_module/rjs_gadget_erp5_page_slap_ticket_list_js.xml
+3
-5
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.js
...ateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.js
+3
-9
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.xml
...teItem/web_page_module/rjs_gadget_erp5_page_slapos_js.xml
+2
-2
master/bt5/slapos_jio/bt/template_keep_last_workflow_history_only_path_list
...jio/bt/template_keep_last_workflow_history_only_path_list
+2
-2
master/bt5/slapos_jio/bt/template_path_list
master/bt5/slapos_jio/bt/template_path_list
+2
-2
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSServerUpgradeDecision.zpt
...ests/slaposjs_zuite/testSlapOSJSServerUpgradeDecision.zpt
+12
-0
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSServiceUpgradeDecision.zpt
...sts/slaposjs_zuite/testSlapOSJSServiceUpgradeDecision.zpt
+13
-1
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTicket.zpt
...teItem/portal_tests/slaposjs_zuite/testSlapOSJSTicket.zpt
+14
-1
No files found.
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_base/WebSection_getHostingJSPrecacheManifestList.py
View file @
737c0ad5
...
...
@@ -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"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_all_ticket_list_html.html
0 → 100644
View file @
737c0ad5
<!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>
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_
rss_critical_ticke
t_html.xml
→
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_
all_ticket_lis
t_html.xml
View file @
737c0ad5
...
...
@@ -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_ticke
t.html
</string>
</value>
<value>
<string>
gadget_erp5_page_slap_
all_ticket_lis
t.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_ticke
t_html
</string>
</value>
<value>
<string>
rjs_gadget_erp5_page_slap_
all_ticket_lis
t_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>
00
1
</string>
</value>
<value>
<string>
00
3
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
...
...
@@ -234,7 +189,7 @@
</tuple>
<state>
<tuple>
<float>
1
522845696.8
</float>
<float>
1
668201889.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>
1
583406796.03
</float>
<float>
1
668201885.15
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -362,7 +317,7 @@
</tuple>
<state>
<tuple>
<float>
1
522845648.84
</float>
<float>
1
668193624.07
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_
rss_critical_ticke
t_js.js
→
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_
all_ticket_lis
t_js.js
View file @
737c0ad5
/*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_pos
t
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_
get
"
,
"
jio_ge
t
"
)
.
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
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
));
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_
rss_critical_ticke
t_js.xml
→
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_
all_ticket_lis
t_js.xml
View file @
737c0ad5
...
...
@@ -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_ticke
t.js
</string>
</value>
<value>
<string>
gadget_erp5_page_slap_
all_ticket_lis
t.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_ticke
t_js
</string>
</value>
<value>
<string>
rjs_gadget_erp5_page_slap_
all_ticket_lis
t_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>
00
1
</string>
</value>
<value>
<string>
00
2
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
...
...
@@ -230,7 +185,7 @@
</tuple>
<state>
<tuple>
<float>
1
522845717.28
</float>
<float>
1
668194061.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>
16
02258112.8
6
</float>
<float>
16
68202765.6
6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -358,7 +313,7 @@
</tuple>
<state>
<tuple>
<float>
1
522845703.18
</float>
<float>
1
668193606.14
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_rss_critical_ticket_html.html
deleted
100644 → 0
View file @
60a998b4
<!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>
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_html.xml
View file @
737c0ad5
...
...
@@ -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>
1
508398078.97
</float>
<float>
1
668201861.78
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.js
View file @
737c0ad5
...
...
@@ -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,8 +117,8 @@
selection_url
:
result
[
2
],
add_url
:
result
[
0
],
rss_url
:
result
[
1
],
critical_url
:
result
[
3
]
list_all_url
:
result
[
4
]
});
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
));
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.xml
View file @
737c0ad5
...
...
@@ -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>
1
508398046.04
</float>
<float>
1
668194508.48
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -236,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
100
1.59377.44199.349
8
</string>
</value>
<value>
<string>
100
4.16914.46845.3590
8
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
16
59068844.09
</float>
<float>
16
68203512.68
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.js
View file @
737c0ad5
...
...
@@ -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
"
),
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.xml
View file @
737c0ad5
...
...
@@ -247,7 +247,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
100
1.59393.60810.27067
</string>
</value>
<value>
<string>
100
4.6436.36702.26948
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -265,7 +265,7 @@
</tuple>
<state>
<tuple>
<float>
16
59068824
.06
</float>
<float>
16
68205150
.06
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/bt/template_keep_last_workflow_history_only_path_list
View file @
737c0ad5
...
...
@@ -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
...
...
master/bt5/slapos_jio/bt/template_path_list
View file @
737c0ad5
...
...
@@ -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
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSServerUpgradeDecision.zpt
View file @
737c0ad5
...
...
@@ -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"
/>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSServiceUpgradeDecision.zpt
View file @
737c0ad5
...
...
@@ -346,7 +346,19 @@
<tal:block
define=
"menu_item python: 'Tickets'; header menu_item"
>
<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"
/>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTicket.zpt
View file @
737c0ad5
...
...
@@ -284,8 +284,21 @@
<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'})"
>
dummy python: context.REQUEST.set('mapping', {'count': '1'})"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/check_listbox_pagination_text"
/>
</tal:block>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment