Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-sla-management
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
intranet-sla-management
Commits
197a8da4
Commit
197a8da4
authored
Jun 29, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Renamed SLA (Service Level Agreement) into "Ticket Container"
parent
20a074a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
intranet-sla-management-procs.tcl
tcl/intranet-sla-management-procs.tcl
+8
-8
sla-parameter-indicator-component.tcl
www/sla-parameter-indicator-component.tcl
+1
-1
No files found.
tcl/intranet-sla-management-procs.tcl
View file @
197a8da4
...
@@ -67,8 +67,8 @@ ad_proc -public im_sla_parameter_component {
...
@@ -67,8 +67,8 @@ ad_proc -public im_sla_parameter_component {
to add more parameters
to add more parameters
}
{
}
{
set project_id
$object
_id
set project_id
$object
_id
if
{
!
[
im_project_has_type
$project
_id
"Service Level Agreement"
]}
{
if
{
!
[
im_project_has_type
$project
_id
[
im_project_type_ticket_container
]
]}
{
ns_log Notice
"im_sla_parameter_component: Project
\#
$project
_id is not a '
Service Level Agreement
'"
ns_log Notice
"im_sla_parameter_component: Project
\#
$project
_id is not a '
Ticket Container
'"
return
""
return
""
}
}
...
@@ -90,8 +90,8 @@ ad_proc -public im_sla_parameter_list_component {
...
@@ -90,8 +90,8 @@ ad_proc -public im_sla_parameter_list_component {
Returns a HTML component with a mix of SLA parameters and indicators.
Returns a HTML component with a mix of SLA parameters and indicators.
The component can be used both on the SLAViewPage and the ParamViewPage.
The component can be used both on the SLAViewPage and the ParamViewPage.
}
{
}
{
if
{
!
[
im_project_has_type
$project
_id
"Service Level Agreement"
]}
{
if
{
!
[
im_project_has_type
$project
_id
[
im_project_type_ticket_container
]
]}
{
ns_log Notice
"im_sla_parameter_list_component: Project
\#
$project
_id is not a '
Service Level Agreement
'"
ns_log Notice
"im_sla_parameter_list_component: Project
\#
$project
_id is not a '
Ticket Container
'"
return
""
return
""
}
}
...
@@ -113,8 +113,8 @@ ad_proc -public im_sla_service_hours_component {
...
@@ -113,8 +113,8 @@ ad_proc -public im_sla_service_hours_component {
Returns a HTML component with a component to display and modify working hours
Returns a HTML component with a component to display and modify working hours
for the 7 days of the week.
for the 7 days of the week.
}
{
}
{
if
{
!
[
im_project_has_type
$project
_id
"Service Level Agreement"
]}
{
if
{
!
[
im_project_has_type
$project
_id
[
im_project_type_ticket_container
]
]}
{
ns_log Notice
"im_sla_service_hours_component: Project
\#
$project
_id is not a '
Service Level Agreement
'"
ns_log Notice
"im_sla_service_hours_component: Project
\#
$project
_id is not a '
Ticket Container
'"
return
""
return
""
}
}
...
@@ -135,8 +135,8 @@ ad_proc -public im_ticket_priority_map_component {
...
@@ -135,8 +135,8 @@ ad_proc -public im_ticket_priority_map_component {
Returns a HTML component with a component containing a list of
Returns a HTML component with a component containing a list of
ticket_type x ticket_severity => ticket_priority tuples.
ticket_type x ticket_severity => ticket_priority tuples.
}
{
}
{
if
{
!
[
im_project_has_type
$project
_id
"Service Level Agreement"
]}
{
if
{
!
[
im_project_has_type
$project
_id
[
im_project_type_ticket_container
]
]}
{
ns_log Notice
"im_sla_service_hours_component: Project
\#
$project
_id is not a '
Service Level Agreement
'"
ns_log Notice
"im_sla_service_hours_component: Project
\#
$project
_id is not a '
Ticket Container
'"
return
""
return
""
}
}
...
...
www/sla-parameter-indicator-component.tcl
View file @
197a8da4
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
# http://www.project-open.com/license/ for details.
# http://www.project-open.com/license/ for details.
# This indicator is executed from within the view page for a project
# This indicator is executed from within the view page for a project
# of sub-type "
Service Level Agreement
". It shows a list of indicators,
# of sub-type "
Ticket Container
". It shows a list of indicators,
# one for each SLA parameter.
# one for each SLA parameter.
#
#
# The component is called with a parameter "project_id" representing
# The component is called with a parameter "project_id" representing
...
...
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