Change color of tickets on agent dashboard
Moderator: crythias
-
- Znuny newbie
- Posts: 43
- Joined: 26 Mar 2013, 16:32
- Znuny Version: 3.2.2
- Real Name: Nicolas Unterberger
- Company: IXLabs
Change color of tickets on agent dashboard
Hi there.
Is there any possibility to change the whole row on the same color of the ticket priority on the agent dashboard? I mean, now if a ticket its very urgen, you get a square of the color red on the agent dashboard close to the ticket, i want to change it to the whole row.
I took a look to AgentDashboardGeneric.dtl but seems pretty cryptic for me.
Anyone know how to do it?
Thanks in advance!
Is there any possibility to change the whole row on the same color of the ticket priority on the agent dashboard? I mean, now if a ticket its very urgen, you get a square of the color red on the agent dashboard close to the ticket, i want to change it to the whole row.
I took a look to AgentDashboardGeneric.dtl but seems pretty cryptic for me.
Anyone know how to do it?
Thanks in advance!
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change color of tickets on agent dashboard
The background-color of a cell for a row is determined by
AgentDashboardTicketGeneric
and otrs/var/html/htdocs/skins/Agent/default/css/Core.Table.css
But what to do about priority?
You'll need CSS for the priority and inject it in the first part:
How you provide the css is up to you... add it as custom or embed it in style markup in the dtl.
AgentDashboardTicketGeneric
Code: Select all
<!-- dtl:block:ContentLargeTicketGenericRowMeta -->
<td class="$QData{"ClassTable"} Flags" title="$Text{"$Data{"Title"}"}">
Code: Select all
.DataTable tr:nth-child(even) td {
background-color: #F5F5F5;
}
.DataTable tr.Even td {
background-color: #F5F5F5;
}
You'll need CSS for the priority and inject it in the first part:
Code: Select all
<!-- dtl:block:ContentLargeTicketGenericRowMeta -->
<td class="$QData{"ClassTable"} Flags COLOR_$QData{"Priority"}" title="$Text{"$Data{"Title"}"}">
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 43
- Joined: 26 Mar 2013, 16:32
- Znuny Version: 3.2.2
- Real Name: Nicolas Unterberger
- Company: IXLabs
Re: Change color of tickets on agent dashboard
Thanks Crythias, this is exactly what i was looking for
-
- Znuny newbie
- Posts: 7
- Joined: 12 Mar 2018, 04:32
- Znuny Version: ITSM 6.4
- Real Name: Sophea OUK
- Company: BRED BANK CAMBODIA
Re: Change color of tickets on agent dashboard
Dear Sir,
I am using OTRS 6x. How do we can set color / highlight on the ticket base on aging.
Example:
Ticket is older than 7-day --> Yellow
Ticket is older than 10-day --> Red
Thanks in advance.
Regards,
Sophea
I am using OTRS 6x. How do we can set color / highlight on the ticket base on aging.
Example:
Ticket is older than 7-day --> Yellow
Ticket is older than 10-day --> Red
Thanks in advance.
Regards,
Sophea
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Change color of tickets on agent dashboard
https://opar.perl-services.de/dist/Tick ... oked-6.0.1 and this Hook: https://gist.github.com/reneeb/0ab3f7aa ... ab25c9d138
The hook has to be activated in the system configuration in the option TicketOverview::Hooks
The hook has to be activated in the system configuration in the option TicketOverview::Hooks
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 7
- Joined: 12 Mar 2018, 04:32
- Znuny Version: ITSM 6.4
- Real Name: Sophea OUK
- Company: BRED BANK CAMBODIA
Re: Change color of tickets on agent dashboard
Dear Sir,reneeb wrote: ↑04 Jul 2018, 09:28 https://opar.perl-services.de/dist/Tick ... oked-6.0.1 and this Hook: https://gist.github.com/reneeb/0ab3f7aa ... ab25c9d138
The hook has to be activated in the system configuration in the option TicketOverview::Hooks
Really appreciated for you prompt replied but I am really new experience with OTRS.
Could you please instruct me how to install and activate it?
Regards,
Sophea
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Change color of tickets on agent dashboard
You need to download the package. You'll get an .opm file then. Open the package manager in the admin area of OTRS. There's a form to upload files in the sidebar on the left.
After you've installed the package, you need to create the file shown in the github gist. Save it as <OTRS_HOME>/Kernel/System/TicketOverview/Hooks/Age.pm (check the correct permissions - compare the permissions with those of other files in OTRS directory).
After that open the system configuration, search for the config option I mentioned above and set Key to "1000" and value to Kernel::System::TicketOverview::Hooks::Age
After you've installed the package, you need to create the file shown in the github gist. Save it as <OTRS_HOME>/Kernel/System/TicketOverview/Hooks/Age.pm (check the correct permissions - compare the permissions with those of other files in OTRS directory).
After that open the system configuration, search for the config option I mentioned above and set Key to "1000" and value to Kernel::System::TicketOverview::Hooks::Age
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 7
- Joined: 12 Mar 2018, 04:32
- Znuny Version: ITSM 6.4
- Real Name: Sophea OUK
- Company: BRED BANK CAMBODIA
Re: Change color of tickets on agent dashboard
Dear Sir,reneeb wrote: ↑04 Jul 2018, 14:04 You need to download the package. You'll get an .opm file then. Open the package manager in the admin area of OTRS. There's a form to upload files in the sidebar on the left.
After you've installed the package, you need to create the file shown in the github gist. Save it as <OTRS_HOME>/Kernel/System/TicketOverview/Hooks/Age.pm (check the correct permissions - compare the permissions with those of other files in OTRS directory).
After that open the system configuration, search for the config option I mentioned above and set Key to "1000" and value to Kernel::System::TicketOverview::Hooks::Age
I have followed your instruction but all ticket became red color. Whats wrong please?
Regards,
Sophea
-
- Znuny newbie
- Posts: 68
- Joined: 06 May 2016, 14:03
- Znuny Version: 3.0.5
- Real Name: Pradeep
Re: Change color of tickets on agent dashboard
I am having the same issue. Also i am trying to highlight based on priority. Any fix for this?
-
- Znuny newbie
- Posts: 1
- Joined: 12 Jul 2019, 19:35
- Znuny Version: OTRS 7
Re: Change color of tickets on agent dashboard
Thanks for sharing! These essential tips are quite helpful to me.
-
- Znuny newbie
- Posts: 1
- Joined: 13 Nov 2020, 23:54
- Znuny Version: 6.0
- Real Name: Kevin Oleaga
Re: Change color of tickets on agent dashboard
1. Habitación de colores a los tickets en base al tipo de ticket
a. Ingresar a https://opar.perl-services.de/dist/TicketOverviewHooked y descargar el archivo TicketOverviewHooked-6.0.2.opm
b. Ingresar en OTRS a Configuración del Sistema
c. Buscar y habilitar AllowNotVerifiedPackages
d. Ingresar a Gestor de Paquetes
e. Cargar el archivo TicketOverviewHooked-6.0.2.opm y presionar Instalar Paquete
f. Ingresar a Configuración del Sistema
g. Buscar y deshabilitar AllowNotVerifiedPackages
h. Ingresar a Configuración del Sistema
i. Buscar TicketOverview::Hooks
j. Modificar el valor por Kernel::System::TicketOverview::Hooks::Types
k. Ingresar a Configuración del Sistema
l. Buscar Hook::Types
m. Agregar el Tipo de Ticket y el color correspondiente fondo de la celda(valores hexadecimales)
n. Buscar Hook::Types::Font
o. Agregar el Tipo de Ticket y el color correspondiente a las letras(valores hexadecimales)
a. Ingresar a https://opar.perl-services.de/dist/TicketOverviewHooked y descargar el archivo TicketOverviewHooked-6.0.2.opm
b. Ingresar en OTRS a Configuración del Sistema
c. Buscar y habilitar AllowNotVerifiedPackages
d. Ingresar a Gestor de Paquetes
e. Cargar el archivo TicketOverviewHooked-6.0.2.opm y presionar Instalar Paquete
f. Ingresar a Configuración del Sistema
g. Buscar y deshabilitar AllowNotVerifiedPackages
h. Ingresar a Configuración del Sistema
i. Buscar TicketOverview::Hooks
j. Modificar el valor por Kernel::System::TicketOverview::Hooks::Types
k. Ingresar a Configuración del Sistema
l. Buscar Hook::Types
m. Agregar el Tipo de Ticket y el color correspondiente fondo de la celda(valores hexadecimales)
n. Buscar Hook::Types::Font
o. Agregar el Tipo de Ticket y el color correspondiente a las letras(valores hexadecimales)
You do not have the required permissions to view the files attached to this post.
Kevin Oleaga Garcia
Junior Softwaew Developer
San José, CR
Junior Softwaew Developer
San José, CR