Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sencha-reporting-portfolio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
sencha-reporting-portfolio
Commits
ddf7a448
Commit
ddf7a448
authored
Nov 20, 2012
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- REsource Management:
Working on reports
parent
54b5c281
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
21 deletions
+53
-21
project-timeline.tcl
lib/project-timeline.tcl
+2
-2
sencha-reporting-portfolio.info
sencha-reporting-portfolio.info
+1
-0
sencha-reporting-portfolio-create.sql
sql/postgresql/sencha-reporting-portfolio-create.sql
+38
-6
sencha-reporting-portfolio-procs.tcl
tcl/sencha-reporting-portfolio-procs.tcl
+2
-0
skill-profile-occupation.tcl
www/skill-profile-occupation.tcl
+10
-13
No files found.
lib/project-timeline.tcl
View file @
ddf7a448
...
...
@@ -295,7 +295,7 @@ switch $diagram_aggregation_level {
}
# ------------------------------------------------------------
#
#
Prepare JSON data for diagram
# ------------------------------------------------------------
set data_json "
\[\n
"
...
...
@@ -308,5 +308,5 @@ foreach oid $oids {
}
set object_fields_json
[
join
$object
_list
", "
]
lappend object_list "
'availability'
"
if {"" !=
$diagram
_availability} { lappend object_list "
'availability'
" }
set all_fields_json
[
join
$object
_list
", "
]
sencha-reporting-portfolio.info
View file @
ddf7a448
...
...
@@ -21,6 +21,7 @@
<requires
url=
"sencha-v407"
version=
"4.0.0.0.0"
/>
<requires
url=
"intranet-core"
version=
"4.0.1.0.0"
/>
<requires
url=
"intranet-rest"
version=
"4.0.1.0.0"
/>
<requires
url=
"intranet-resource-management"
version=
"4.0.1.0.0"
/>
<callbacks>
</callbacks>
...
...
sql/postgresql/sencha-reporting-portfolio-create.sql
View file @
ddf7a448
...
...
@@ -11,6 +11,11 @@
-- Portlets
----------------------------------------------------
-- ------------------------------------------------------------
-- Project List Page
-- ------------------------------------------------------------
SELECT
im_component_plugin__new
(
null
,
-- plugin_id
'im_component_plugin'
,
-- object_type
...
...
@@ -77,6 +82,10 @@ SELECT im_component_plugin__new (
-- ------------------------------------------------------------
-- Project View Page
-- ------------------------------------------------------------
SELECT
im_component_plugin__new
(
null
,
-- plugin_id
'im_component_plugin'
,
-- object_type
...
...
@@ -94,6 +103,27 @@ SELECT im_component_plugin__new (
);
SELECT
im_component_plugin__new
(
null
,
-- plugin_id
'im_component_plugin'
,
-- object_type
now
(),
-- creation_date
null
,
-- creation_user
null
,
-- creation_ip
null
,
-- context_id
'EVA Diagram'
,
-- plugin_name
'sencha-reporting-portfolio'
,
-- package_name
'bottom'
,
-- location
'/intranet/projects/view'
,
-- page_url
null
,
-- view_name
20
,
-- sort_order
'sencha_project_eva -project_id $project_id'
-- Portlet TCL
);
-- ------------------------------------------------------------
-- Resource Management Page
-- ------------------------------------------------------------
SELECT
im_component_plugin__new
(
...
...
@@ -103,16 +133,17 @@ SELECT im_component_plugin__new (
null
,
-- creation_user
null
,
-- creation_ip
null
,
-- context_id
'
Project
Timeline'
,
-- plugin_name
'
Skill Profiles
Timeline'
,
-- plugin_name
'sencha-reporting-portfolio'
,
-- package_name
'bottom'
,
-- location
'/intranet
/index'
,
-- page_url
'/intranet
-resource-management/index'
,
-- page_url
null
,
-- view_name
10
,
-- sort_order
'sencha_project_timeline -diagram_aggregation_level month'
-- Portlet TCL
'sencha_project_timeline -diagram_aggregation_level month
-diagram_dimension users
'
-- Portlet TCL
);
SELECT
im_component_plugin__new
(
null
,
-- plugin_id
'im_component_plugin'
,
-- object_type
...
...
@@ -120,12 +151,13 @@ SELECT im_component_plugin__new (
null
,
-- creation_user
null
,
-- creation_ip
null
,
-- context_id
'
EVA Diagram'
,
-- plugin_name
'
Project Timeline'
,
-- plugin_name
'sencha-reporting-portfolio'
,
-- package_name
'bottom'
,
-- location
'/intranet
/projects/view'
,
-- page_url
'/intranet
-resource-management/index'
,
-- page_url
null
,
-- view_name
20
,
-- sort_order
'sencha_project_
eva -project_id $project_id
'
-- Portlet TCL
'sencha_project_
timeline -diagram_aggregation_level month -diagram_dimension projects -diagram_height 300
'
-- Portlet TCL
);
tcl/sencha-reporting-portfolio-procs.tcl
View file @
ddf7a448
...
...
@@ -93,6 +93,7 @@ ad_proc -public sencha_project_timeline {
{
-diagram_start_date
""
}
{
-diagram_end_date
""
}
{
-diagram_user_id
""
}
{
-diagram_group_id
""
}
{
-diagram_project_status_id
""
}
{
-diagram_availability
""
}
{
-diagram_aggregation_level
"month"
}
...
...
@@ -128,6 +129,7 @@ ad_proc -public sencha_project_timeline {
[
list
diagram_start_date
$diagram
_start_date
]
\
[
list
diagram_end_date
$diagram
_end_date
]
\
[
list
diagram_user_id
$diagram
_user_id
]
\
[
list
diagram_group_id
$diagram
_group_id
]
\
[
list
diagram_project_status_id
$diagram
_project_status_id
]
\
[
list
diagram_aggregation_level
$diagram
_aggregation_level
]
\
[
list
diagram_availability
$diagram
_availability
]
\
...
...
www/skill-profile-occupation.tcl
View file @
ddf7a448
...
...
@@ -81,20 +81,17 @@ foreach tuple $skill_profiles {
#
# ---------------------------------------------------------------
set
sub_navbar
""
set
main_navbar_label
"projects"
set
project_menu
""
# Show the same header as the ProjectListPage
set
letter
""
set
next_page_url
""
set
previous_page_url
""
set
main_navbar_label
"resource_management"
set
menu_select_label
"skill-profile-use"
set
sub_navbar
[
im_project_navbar
$letter
"/intranet/projects/index"
$next
_page_url
$previous
_page_url
[
list
start_idx order_by how_many view_name letter project_status_id
]
$menu
_select_label
]
set
bind_vars
[
ns_set create
]
set
parent_menu_id
[
db_string parent_menu
"select menu_id from im_menus where label = :main_navbar_label"
]
set
sub_navbar
[
im_sub_navbar
\
-base_url
"/intranet-resource-management/index"
\
-plugin_url
"/intranet-resource-management/index"
\
-menu_gif_type
"none"
\
$parent
_menu_id
\
$bind
_vars
""
"pagedesriptionbar"
$menu
_select_label
\
]
# ---------------------------------------------------------------
...
...
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