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
139
Merge Requests
139
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
cd16bd10
Commit
cd16bd10
authored
Dec 06, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_project_ui: some links dropped
parent
71b862ff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
13 deletions
+6
-13
bt5/erp5_web_project_ui/SkinTemplateItem/portal_skins/erp5_web_project/gadget_project_info.html.html
...rtal_skins/erp5_web_project/gadget_project_info.html.html
+1
-10
bt5/erp5_web_project_ui/SkinTemplateItem/portal_skins/erp5_web_project/gadget_project_info.js.js
...m/portal_skins/erp5_web_project/gadget_project_info.js.js
+5
-3
No files found.
bt5/erp5_web_project_ui/SkinTemplateItem/portal_skins/erp5_web_project/gadget_project_info.html.html
View file @
cd16bd10
...
@@ -19,19 +19,11 @@
...
@@ -19,19 +19,11 @@
<a
id=
"document_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Documents"
disabled
>
Documents
</a>
<a
id=
"document_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Documents"
disabled
>
Documents
</a>
</p>
</p>
</div>
</div>
<div
class=
"ui-field-contain project_links"
>
<p>
<a
id=
"bug_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Bugs"
disabled
>
Opened Bugs
</a>
<a
id=
"closed_bug_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Closed Bugs"
disabled
>
Closed Bugs
</a>
</p>
</div>
<div
class=
"ui-field-contain project_links"
>
<div
class=
"ui-field-contain project_links"
>
<p>
<p>
<a
id=
"task_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Confirmed Tasks"
disabled
>
Confirmed Tasks
</a>
<a
id=
"task_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Confirmed Tasks"
disabled
>
Confirmed Tasks
</a>
<a
id=
"not_confirmed_task_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Not Confirmed Tasks"
disabled
>
Not Confirmed Tasks
</a>
<a
id=
"report_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Task Reports"
disabled
>
Opened Task Reports
</a>
<a
id=
"report_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Task Reports"
disabled
>
Opened Task Reports
</a>
<a
id=
"
closed_report_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Closed Task Reports"
disabled
>
Closed Task Report
s
</a>
<a
id=
"
bug_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Bugs"
disabled
>
Opened Bug
s
</a>
</p>
</p>
</div>
</div>
<div
class=
"ui-field-contain project_links"
>
<div
class=
"ui-field-contain project_links"
>
...
@@ -46,7 +38,6 @@
...
@@ -46,7 +38,6 @@
<div
class=
"ui-field-contain project_links"
>
<div
class=
"ui-field-contain project_links"
>
<p>
<p>
<a
id=
"web_page_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Edit Project Page"
disabled
>
Edit Project Page
</a>
<a
id=
"web_page_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Edit Project Page"
disabled
>
Edit Project Page
</a>
<a
id=
"rss_link"
target=
"_blank"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Generate RSS"
disabled
>
Generate RSS
</a>
</p>
</p>
</div>
</div>
<div
class=
"ui-field-contain project_links"
>
<div
class=
"ui-field-contain project_links"
>
...
...
bt5/erp5_web_project_ui/SkinTemplateItem/portal_skins/erp5_web_project/gadget_project_info.js.js
View file @
cd16bd10
...
@@ -216,6 +216,7 @@
...
@@ -216,6 +216,7 @@
editor
.
render
({
"
editor
"
:
"
fck_editor
"
,
"
editable
"
:
false
,
editor
.
render
({
"
editor
"
:
"
fck_editor
"
,
"
editable
"
:
false
,
"
value
"
:
web_page_info
.
content
});
"
value
"
:
web_page_info
.
content
});
return
gadget
.
getUrlForList
([
return
gadget
.
getUrlForList
([
//TODO drop 4, 6 and 9 calls when closed links removal is confirmed
getUrlParameterDict
(
'
milestone_module
'
,
milestone_view
,
[[
"
stop_date
"
,
"
ascending
"
]]),
getUrlParameterDict
(
'
milestone_module
'
,
milestone_view
,
[[
"
stop_date
"
,
"
ascending
"
]]),
getUrlParameterDict
(
'
task_module
'
,
"
view
"
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
getUrlParameterDict
(
'
task_module
'
,
"
view
"
,
[[
"
delivery.start_date
"
,
"
descending
"
]],
[
"
title
"
,
"
delivery.start_date
"
,
"
delivery.stop_date
"
,
"
destination_decision_title
"
,
[
"
title
"
,
"
delivery.start_date
"
,
"
delivery.stop_date
"
,
"
destination_decision_title
"
,
...
@@ -258,16 +259,17 @@
...
@@ -258,16 +259,17 @@
]);
]);
})
})
.
push
(
function
(
url_list
)
{
.
push
(
function
(
url_list
)
{
//TODO update url_list index when closed links removal is confirmed
enableLink
(
document
.
getElementById
(
"
milestone_link
"
),
url_list
[
0
]);
enableLink
(
document
.
getElementById
(
"
milestone_link
"
),
url_list
[
0
]);
enableLink
(
document
.
getElementById
(
"
task_link
"
),
url_list
[
1
]);
enableLink
(
document
.
getElementById
(
"
task_link
"
),
url_list
[
1
]);
enableLink
(
document
.
getElementById
(
"
support_request_link
"
),
url_list
[
2
]);
enableLink
(
document
.
getElementById
(
"
support_request_link
"
),
url_list
[
2
]);
enableLink
(
document
.
getElementById
(
"
bug_link
"
),
url_list
[
3
]);
enableLink
(
document
.
getElementById
(
"
bug_link
"
),
url_list
[
3
]);
enableLink
(
document
.
getElementById
(
"
closed_bug_link
"
),
url_list
[
4
]);
//
enableLink(document.getElementById("closed_bug_link"), url_list[4]);
enableLink
(
document
.
getElementById
(
"
report_link
"
),
url_list
[
5
]);
enableLink
(
document
.
getElementById
(
"
report_link
"
),
url_list
[
5
]);
enableLink
(
document
.
getElementById
(
"
closed_report_link
"
),
url_list
[
6
]);
//
enableLink(document.getElementById("closed_report_link"), url_list[6]);
enableLink
(
document
.
getElementById
(
"
test_result_link
"
),
url_list
[
7
]);
enableLink
(
document
.
getElementById
(
"
test_result_link
"
),
url_list
[
7
]);
enableLink
(
document
.
getElementById
(
"
test_suite_link
"
),
url_list
[
8
]);
enableLink
(
document
.
getElementById
(
"
test_suite_link
"
),
url_list
[
8
]);
enableLink
(
document
.
getElementById
(
"
not_confirmed_task_link
"
),
url_list
[
9
]);
//
enableLink(document.getElementById("not_confirmed_task_link"), url_list[9]);
if
(
web_page_info
.
id
)
{
if
(
web_page_info
.
id
)
{
enableLink
(
document
.
getElementById
(
"
web_page_link
"
),
url_list
[
10
]);
enableLink
(
document
.
getElementById
(
"
web_page_link
"
),
url_list
[
10
]);
}
}
...
...
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