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
3e39c536
Commit
3e39c536
authored
Oct 24, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_project_ui: worklist in project page
parent
c88925b1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
156 additions
and
43 deletions
+156
-43
bt5/erp5_web_project_ui/SkinTemplateItem/portal_skins/erp5_web_project/Project_getRenderJSExtraInfoParameterList.py
..._web_project/Project_getRenderJSExtraInfoParameterList.py
+1
-1
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
+20
-1
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
+135
-41
No files found.
bt5/erp5_web_project_ui/SkinTemplateItem/portal_skins/erp5_web_project/Project_getRenderJSExtraInfoParameterList.py
View file @
3e39c536
...
...
@@ -11,7 +11,7 @@ from Products.ERP5Type.Log import log
portal
=
context
.
getPortalObject
()
portal_catalog
=
portal
.
portal_catalog
reference
=
context
.
getReference
(
)
+
"-Home.Page"
reference
=
str
(
context
.
getReference
()
)
+
"-Home.Page"
home_page
=
portal_catalog
.
getResultValue
(
portal_type
=
'Web Page'
,
reference
=
reference
)
...
...
bt5/erp5_web_project_ui/SkinTemplateItem/portal_skins/erp5_web_project/gadget_project_info.html.html
View file @
3e39c536
...
...
@@ -8,8 +8,21 @@
<script
src=
"renderjs.js"
></script>
<!-- <script src="handlebars.js" type="text/javascript"></script>
<script id="panel-template-body-list" type="text/x-handlebars-template"></script>-->
<script
src=
"handlebars.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_project_info.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"gadget_project_info.css"
>
<!-- worklist -->
<script
id=
"table-template"
type=
"text/x-handlebars-template"
>
{{
#
if
document_list
}}
<
ul
data
-
role
=
"
listview
"
data
-
theme
=
"
c
"
class
=
"
document-listview ui-listview-inset ui-corner-all
"
>
{{
#
each
document_list
}}
<
li
class
=
"
ui-li-has-count
"
data
-
icon
=
"
false
"
><
a
class
=
"
ui-body-inherit
"
href
=
"
{{link}}
"
>
{{
title
}}
<
span
id
=
"
{{id}}
"
class
=
"
ui-li-count
"
>
{{
count
}}
<
/span></
a
><
/li
>
{{
/
each
}}
<
/ul
>
{{
else
}}
<
p
>
All
work
caught
up
!<
/p
>
{{
/
if
}}
</script>
</head>
<body>
...
...
@@ -17,7 +30,7 @@
<div
class=
"ui-field-contain"
style=
"top:50px;"
>
<div
class=
"bottom"
>
<a
id=
"forum_link"
target=
"_blank"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Forum"
disabled
>
Forum
</a>
<
a
id=
"description_link"
target=
"_blank"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Project Description"
disabled
>
Project Description
</a
>
<
!-- <a id="description_link" target="_blank" class="first-line-buttons ui-disabled" data-i18n="[value]Project Description" disabled >Project Description</a> --
>
<a
id=
"rss_link"
target=
"_blank"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Generate RSS"
disabled
>
Generate RSS
</a>
</div>
</div>
...
...
@@ -57,6 +70,12 @@
<a
id=
"test_suite_link"
class=
"first-line-buttons ui-disabled"
data-i18n=
"[value]Test suite"
disabled
>
Test suite
</a>
</p>
</div>
<div
class=
"ui-field-contain"
style=
"top:320px;"
>
<h1
data-i18n=
"[value]Project WorkList"
class=
"ui-title ui-override-theme worklist-title"
>
Project WorkList
</h1>
</div>
<div
class=
"ui-field-contain"
style=
"top:325px;"
>
<section
class=
"document_list"
style=
"width: 100%;"
></section>
</div>
<div
class=
"ui-field-contain"
style=
"top:350px;"
>
<div
id=
"home_page_content"
></div>
</div>
...
...
bt5/erp5_web_project_ui/SkinTemplateItem/portal_skins/erp5_web_project/gadget_project_info.js.js
View file @
3e39c536
This diff is collapsed.
Click to expand it.
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