Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GLPI
glpi
Commits
cd058317
Commit
cd058317
authored
May 20, 2022
by
Curtis Conard
Browse files
Show itemtype icon in linked list
parent
80b43fa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/components/itilobject/linked_itilobjects.html.twig
View file @
cd058317
...
...
@@ -51,6 +51,7 @@
</div>
<div
class=
"col text-truncate"
>
<a
href=
"
{{
linked
[
'itemtype'
]
|
itemtype_form_path
(
linked
[
'items_id'
])
}}
"
class=
"col-9 overflow-hidden text-nowrap"
>
<i
class=
"
{{
linked
[
'itemtype'
]
|
itemtype_icon
}}
"
></i>
{{
new_itilobject.getStatusIcon
(
new_itilobject.fields
[
'status'
])
|
raw
}}
<span
title=
"
{{
new_itilobject.fields
[
'name'
]
|
verbatim_value
}}
"
data-bs-toggle=
"tooltip"
>
{{
new_itilobject.fields
[
'name'
]
|
verbatim_value
}}
...
...
Write
Preview
Supports
Markdown
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