Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-helpdesk
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-helpdesk
Commits
19c3c720
Commit
19c3c720
authored
Apr 13, 2010
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added im_ticket::add_reply comments for common ticket actions
parent
4ecc0a3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
action.tcl
www/action.tcl
+12
-0
No files found.
www/action.tcl
View file @
19c3c720
...
...
@@ -24,6 +24,7 @@ ad_page_contract {
set
user_id
[
ad_maybe_redirect_for_registration
]
set
user_is_admin_p
[
im_is_user_site_wide_or_intranet_admin
$user
_id
]
set
user_name
[
im_name_from_user_id
[
ad_get_user_id
]]
# 30500, 'Close'
# 30510, 'Close &
;
notify'
...
...
@@ -56,6 +57,9 @@ switch $action_id {
project_status_id =
[
im_project_status_closed
]
where project_id = :ticket_id
"
im_ticket::add_reply -ticket_id
$ticket
_id -subject
\
[
lang::message::lookup
""
intranet-helpdesk.Closed_by_user
"Closed by %user_name%"
]
}
}
30510
{
...
...
@@ -77,6 +81,9 @@ switch $action_id {
# ToDo: Notifiy
"stakeholders"
that the ticket has been re-opened.
# Unify this functionality with the Forum-Notify and/or Core member-notify?
im_ticket::add_reply -ticket_id
$ticket
_id -subject
\
[
lang::message::lookup
""
intranet-helpdesk.Closed_by_user
"Closed by %user_name%"
]
}
}
30530
{
...
...
@@ -88,6 +95,9 @@ switch $action_id {
update im_tickets set ticket_status_id =
[
im_ticket_status_open
]
where ticket_id = :ticket_id
"
im_ticket::add_reply -ticket_id
$ticket
_id -subject
\
[
lang::message::lookup
""
intranet-helpdesk.Re_opened_by_user
"Re-opened by %user_name%"
]
}
}
30590
{
...
...
@@ -99,6 +109,8 @@ switch $action_id {
update im_tickets set ticket_status_id =
[
im_ticket_status_deleted
]
where ticket_id = :ticket_id
"
im_ticket::add_reply -ticket_id
$ticket
_id -subject
\
[
lang::message::lookup
""
intranet-helpdesk.Deleted_by_user
"Deleted by %user_name%"
]
}
}
30599
{
...
...
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