Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
147
Merge Requests
147
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
98a82272
Commit
98a82272
authored
Mar 11, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_project_ui: code cleanup in project page
parent
d739e959
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
32 deletions
+66
-32
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_css.xml
...eItem/web_page_module/project_gadget_page_project_css.xml
+2
-2
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.js
...em/web_page_module/project_gadget_page_project_page_js.js
+50
-24
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.xml
...m/web_page_module/project_gadget_page_project_page_js.xml
+14
-6
No files found.
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_css.xml
View file @
98a82272
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
982.2872
3.28923.39202
</string>
</value>
<value>
<string>
982.2872
4.7791.17220
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
1583
872567.09
</float>
<float>
1583
922997.83
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.js
View file @
98a82272
...
...
@@ -271,30 +271,56 @@ SimpleQuery, ComplexQuery, Query*/
"
value
"
:
web_page_info
.
content
});
}
url_parameter_list
=
[
getUrlParameterDict
(
'
milestone_module
'
,
milestone_view
,
[[
"
stop_date
"
,
"
ascending
"
]],
null
,
createProjectQuery
(
null
,
[[
"
selection_domain_date_milestone_domain
"
,
"
future
"
]])),
getUrlParameterDict
(
'
task_module
'
,
"
view
"
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
[
"
title
"
,
"
delivery.start_date
"
,
"
source_title
"
],
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
selection_domain_state_task_domain
"
,
"
confirmed
"
]])),
getUrlParameterDict
(
'
support_request_module
'
,
"
view
"
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
null
,
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
selection_domain_state_support_domain
"
,
"
validated
"
]])),
getUrlParameterDict
(
'
bug_module
'
,
"
view
"
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
[
"
title
"
,
"
description
"
,
"
source_person_title
"
,
"
destination_person_title
"
,
"
delivery.start_date
"
],
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
selection_domain_state_bug_domain
"
,
"
open
"
]])),
getUrlParameterDict
(
'
task_report_module
'
,
'
view
'
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
[
"
title
"
,
"
delivery.start_date
"
,
"
source_title
"
],
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
selection_domain_state_task_report_domain
"
,
"
confirmed
"
]])),
getUrlParameterDict
(
'
test_result_module
'
,
'
view
'
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
null
,
createProjectQuery
(
modification_dict
.
jio_key
,
[])),
getUrlParameterDict
(
'
test_suite_module
'
,
'
view
'
,
[[
"
creation_date
"
,
"
descending
"
]],
null
,
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
translated_validation_state_title
"
,
"
validated
"
]])),
getUrlParameterDict
(
modification_dict
.
jio_key
,
document_view
,
[[
"
modification_date
"
,
"
descending
"
]],
[
"
download
"
,
"
title
"
,
"
reference
"
,
"
modification_date
"
],
createProjectQuery
(
null
,
[[
"
selection_domain_state_document_domain
"
,
"
confirmed
"
]])),
getUrlParameterDict
(
modification_dict
.
jio_key
,
activity_view
,
[[
"
modification_date
"
,
"
descending
"
]])
getUrlParameterDict
(
'
milestone_module
'
,
milestone_view
,
[[
"
stop_date
"
,
"
ascending
"
]],
null
,
createProjectQuery
(
null
,
[[
"
selection_domain_date_milestone_domain
"
,
"
future
"
]])),
getUrlParameterDict
(
'
task_module
'
,
"
view
"
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
[
"
title
"
,
"
delivery.start_date
"
,
"
source_title, translated_simulation_state_title
"
],
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
selection_domain_state_task_domain
"
,
"
opened
"
]])),
getUrlParameterDict
(
'
support_request_module
'
,
"
view
"
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
null
,
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
selection_domain_state_support_domain
"
,
"
validated
"
]])),
getUrlParameterDict
(
'
bug_module
'
,
"
view
"
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
[
"
title
"
,
"
description
"
,
"
source_person_title
"
,
"
destination_person_title
"
,
"
delivery.start_date
"
,
"
translated_simulation_state_title
"
],
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
selection_domain_state_bug_domain
"
,
"
open
"
]])),
getUrlParameterDict
(
'
task_report_module
'
,
'
view
'
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
[
"
title
"
,
"
delivery.start_date
"
,
"
source_title
"
,
"
translated_simulation_state_title
"
],
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
selection_domain_state_task_report_domain
"
,
"
confirmed
"
]])),
getUrlParameterDict
(
'
test_result_module
'
,
'
view
'
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
null
,
createProjectQuery
(
modification_dict
.
jio_key
,
[])),
getUrlParameterDict
(
'
test_suite_module
'
,
'
view
'
,
[[
"
creation_date
"
,
"
descending
"
]],
null
,
createProjectQuery
(
modification_dict
.
jio_key
,
[[
"
translated_validation_state_title
"
,
"
validated
"
]])),
getUrlParameterDict
(
modification_dict
.
jio_key
,
document_view
,
[[
"
modification_date
"
,
"
descending
"
]],
[
"
download
"
,
"
title
"
,
"
reference
"
,
"
modification_date
"
],
createProjectQuery
(
null
,
[[
"
selection_domain_state_document_domain
"
,
"
confirmed
"
]])),
getUrlParameterDict
(
modification_dict
.
jio_key
,
activity_view
,
[[
"
modification_date
"
,
"
descending
"
]])
];
if
(
web_page_info
)
{
url_parameter_list
.
push
(
getUrlParameterDict
(
web_page_info
.
id
,
web_page_info
.
edit_view
));
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.xml
View file @
98a82272
...
...
@@ -67,6 +67,12 @@
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_erp5_page_project_page.js
</string>
</value>
...
...
@@ -185,7 +191,7 @@
</tuple>
<state>
<tuple>
<float>
158
2882412.91
</float>
<float>
158
3923139.12
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -234,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
982.2
8167.7529.15718
</string>
</value>
<value>
<string>
982.2
9566.64593.53282
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
1583
839344.3
1
</float>
<float>
1583
923160.9
1
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -279,7 +285,9 @@
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
...
...
@@ -295,7 +303,7 @@
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
<value>
<string>
empty
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
...
...
@@ -313,7 +321,7 @@
</tuple>
<state>
<tuple>
<float>
158
2882343.8
9
</float>
<float>
158
3923069.4
9
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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