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
eb929034
Commit
eb929034
authored
Feb 05, 2009
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added permissions to show action section
parent
e43897da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
14 deletions
+27
-14
index.tcl
www/index.tcl
+27
-14
No files found.
www/index.tcl
View file @
eb929034
...
...
@@ -130,7 +130,7 @@ set action_url "/intranet-helpdesk/index"
set
form_mode
"edit"
set
mine_p_options
{}
if
{
[
im_permission
$current
_user_id
"view_tickets_all"
]
}
{
if
{
$view
_tickets_all_p
}
{
lappend mine_p_options
[
list
[
lang::message::lookup
""
intranet-helpdesk.All
"All"
]
"all"
]
}
lappend
mine_p_options
[
list
[
lang::message::lookup
""
intranet-helpdesk.My_queues
"My Queues"
]
"queue"
]
...
...
@@ -183,7 +183,7 @@ ad_form \
{
mine_p:text
(
select
)
,optional
{
label
"Mine/All"
}
{
options
$mine
_p_options
}}
}
if
{
[
im_permission
$current
_user_id
"view_tickets_all"
]
}
{
if
{
$view
_tickets_all_p
}
{
ad_form -extend -name
$form
_id -form
{
{
ticket_status_id:text
(
im_category_tree
)
,optional
{
label
"
[
lang::message::lookup
{}
intranet-helpdesk.Status Status
]
"
}
{
custom
{
category_type
"Intranet Ticket Status"
translate_p 1
}}
}
{
ticket_type_id:text
(
im_category_tree
)
,optional
{
label
"
[
lang::message::lookup
{}
intranet-helpdesk.Type Type
]
"
}
{
custom
{
category_type
"Intranet Ticket Type"
translate_p 1
}
}
}
...
...
@@ -604,22 +604,35 @@ set table_continuation_html "
"
set
table_submit_html
"
<tr>
<td align=right colspan=
$colspan
>
[
lang::message::lookup
""
intranet-helpdesk.Action
"Action:"
]
[
im_category_select
\
-translate_p 1
\
-plain_p 1
\
-include_empty_p 1
\
-include_empty_name
""
\
"Intranet Ticket Action"
\
action_id
\
]
<input type=submit value='
[
lang::message::lookup
""
intranet-helpdesk.Update_Tickets
"Update"
]
'>
<tr valign=top>
<td align=right colspan=
[
expr
$colspan-1
]
valign=top>
[
im_gif cleardot
]
<table cellspacing=1 cellpadding=1 border=0>
<tr valign=top>
<td>
[
lang::message::lookup
""
intranet-helpdesk.Action
"Action:"
]
</td>
<td>
[
im_category_select
\
-translate_p 1
\
-plain_p 1
\
-include_empty_p 1
\
-include_empty_name
""
\
"Intranet Ticket Action"
\
action_id
\
]
</td>
<td>
<input type=submit value='
[
lang::message::lookup
""
intranet-helpdesk.Update_Tickets
"Update"
]
'>
</td>
</tr>
</table>
</td>
</tr>
"
if
{
!$view_tickets_all_p
}
{
set table_submit_html
""
}
# ---------------------------------------------------------------
# Dashboard column
...
...
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