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
144
Merge Requests
144
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
d7522723
Commit
d7522723
authored
Mar 18, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove comments
parent
7bb00ee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_front_page_js.js
..._page_module/project_gadget_page_project_front_page_js.js
+2
-7
No files found.
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_front_page_js.js
View file @
d7522723
...
...
@@ -23,15 +23,10 @@
//define dates in System Preference Project tab?
//date ISO string format: "yyyy-mm-ddThh:mm:ss.mmmm"
//JIO query date format: "yyyy-mm-dd hh:mm:ss"
/*
MILESTONE_LIMIT_DATE = new Date(new Date().setDate(new Date().getDate() - 90))
MILESTONE_LIMIT_DATE
=
new
Date
(
new
Date
().
setDate
(
new
Date
().
getDate
()
-
90
))
.
toISOString
().
substring
(
0
,
new
Date
().
toISOString
().
length
-
5
).
replace
(
"
T
"
,
"
"
),
DOCUMENT_LIMIT_DATE
=
new
Date
(
new
Date
().
setDate
(
new
Date
().
getDate
()
-
21
))
.toISOString().substring(0, new Date().toISOString().length - 5).replace("T", " "),*/
//FOR DEMO
MILESTONE_LIMIT_DATE
=
new
Date
(
2019
,
11
,
19
,
10
,
33
,
30
,
0
)
.
toISOString
().
substring
(
0
,
new
Date
().
toISOString
().
length
-
5
).
replace
(
"
T
"
,
"
"
),
DOCUMENT_LIMIT_DATE
=
MILESTONE_LIMIT_DATE
,
//XXX hardcoded portal_types, states and titles dict
PORTAL_TITLE_DICT
=
{
"
Task
"
:
"
Tasks
"
,
"
Test Result
"
:
"
Test Results
"
,
"
Bug
"
:
"
Bugs
"
,
...
...
@@ -639,4 +634,4 @@
return
true
;
});
}(
window
,
rJS
,
RSVP
,
document
,
SimpleQuery
,
ComplexQuery
,
Query
,
parseInt
,
jIO
,
URL
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
document
,
SimpleQuery
,
ComplexQuery
,
Query
,
parseInt
,
jIO
,
URL
));
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