Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-rest
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-rest
Commits
cc391ef0
Commit
cc391ef0
authored
Apr 23, 2010
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- merged changes between Klaus and myself on object_type GIFs
parent
d7c57e44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
index.tcl
www/index.tcl
+5
-7
No files found.
www/index.tcl
View file @
cc391ef0
...
...
@@ -189,9 +189,8 @@ array set wiki_hash {
# ---------------------------------------------------------
set
list_columns
{
object_icon
{
display_col object_icon
display_template
{
@object_types.object_icon
;
noquote@
}
object_gif
{
display_template
{
<a href=
"@object_types.object_type_url;noquote@"
>@object_types.object_type_gif_html
;
noquote@</a>
}
label
""
}
object_type
{
...
...
@@ -222,7 +221,7 @@ set profile_sql {
}
set
multirow_select
""
set
multirow_extend
{
object_type_url crud_status object_wiki_url wiki
}
set
multirow_extend
{
object_type_url
object_type_gif_html
crud_status object_wiki_url wiki
}
set
group_ids
[
list
]
if
{
$current
_user_is_admin_p
}
{
...
...
@@ -355,11 +354,10 @@ set not_in_object_type "
db_multirow -extend
$multirow
_extend object_types select_object_types
"
select
ot.object_type as object_icon,
ot.object_type,
ot.pretty_name,
ot.object_type_gif,
rot.object_type_id,
ot.icon_path,
im_object_permission_p(rot.object_type_id, :current_user_id, 'read') as current_user_read_p
$multirow
_select
from
...
...
@@ -374,8 +372,8 @@ db_multirow -extend $multirow_extend object_types select_object_types "
order by
ot.object_type
"
{
set object_icon
"<img src='
$icon
_path' alt=''>"
set object_type_url
"/intranet-rest/
$object
_type?format=html"
set object_type_gif_html
[
im_gif
$object
_type_gif
]
switch
$object
_type
{
im_company - im_project - bt_bug - im_company - im_cost - im_conf_item - im_project - im_user_absence - im_office - im_ticket - im_timesheet_task - im_translation_task - user
{
# These object are handled via custom permissions:
...
...
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