Hi everyone,
I'm Running OTRS CE on CentOS 7.
I want to Highlight the tickets rows on dashboard, like addon of Renee does with queues, but for tickets with new articles, like the star that appears on the left.
Thanks in advance,
VCSousa
Ticket Background on Dashboard if New Article
Moderator: crythias
-
- Znuny superhero
- Posts: 888
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Ticket Background on Dashboard if New Article
Hello VCSousa,
I don't know which add-on you're referring to, but you'll need to add some custom JavaScript and CSS.
Are you familiar with these technologies?
Best regards
Emin
I don't know which add-on you're referring to, but you'll need to add some custom JavaScript and CSS.
Are you familiar with these technologies?
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny newbie
- Posts: 62
- Joined: 05 Feb 2020, 17:45
- Znuny Version: OTRS6
- Real Name: Ruben Sousa
- Company: Zolve - Logistic and Transport, S.A.
Re: Ticket Background on Dashboard if New Article
Hi zzz, i'm refer to this https://gist.github.com/reneeb/4baf3e0979356cfc5a70
The basics. Could you give me some lights where and how can I do it?
-
- Znuny superhero
- Posts: 888
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Ticket Background on Dashboard if New Article
That will unfortunately not work for what you're asking for.
The setting "Loader::Module::AgentDashboard###001-Framework" lets you add your own CSS and JS files.
You have to create both files in the correct folder structure and add the names to the setting.
Bear in mind that, unless you create your own package, you have to manually copy these files every time you update the system.
I can help you out with the JS and CSS values if you're willing to do that.
— Emin
The setting "Loader::Module::AgentDashboard###001-Framework" lets you add your own CSS and JS files.
You have to create both files in the correct folder structure and add the names to the setting.
Bear in mind that, unless you create your own package, you have to manually copy these files every time you update the system.
I can help you out with the JS and CSS values if you're willing to do that.
— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny newbie
- Posts: 62
- Joined: 05 Feb 2020, 17:45
- Znuny Version: OTRS6
- Real Name: Ruben Sousa
- Company: Zolve - Logistic and Transport, S.A.
Re: Ticket Background on Dashboard if New Article
I sent you a PM.
If its to create, probably i'm gonna need some help to construct it right. My knowledge with CSS and Javascript are the basics to manage some chenges on files already made and working
If its to create, probably i'm gonna need some help to construct it right. My knowledge with CSS and Javascript are the basics to manage some chenges on files already made and working
-
- Znuny superhero
- Posts: 888
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Ticket Background on Dashboard if New Article
As discussed, this is the quick and dirty way:
/opt/otrs/var/httpd/htdocs/js/Core.Agent.Dashboard.js
/opt/otrs/var/httpd/htdocs/skins/Agent/default/css/Core.Agent.Dashboard.css
Planning to drop some add-ons, which will make it configurable in the front end.
— Emin
/opt/otrs/var/httpd/htdocs/js/Core.Agent.Dashboard.js
Code: Select all
"use strict";
$('table tbody tr.MasterAction:has(.UnreadArticles)').addClass('UnreadHighlight')
Code: Select all
@media screen,projection,tv,handheld {
tr.UnreadHighlight > td, tr:nth-child(even).UnreadHighlight > td {
background: #00ff00;
}
— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny newbie
- Posts: 62
- Joined: 05 Feb 2020, 17:45
- Znuny Version: OTRS6
- Real Name: Ruben Sousa
- Company: Zolve - Logistic and Transport, S.A.
Re: Ticket Background on Dashboard if New Article
zzz,
As talked, a lot of thanks by these and other helps that you provided me
For all, if needed, to put it working in all pages (Status View) you should add the codes on the follow files:
Core.Header.css
Core.Agent.Header.js
I had to had on CSS also, the flag of !important
This is also info given by zzz.
This is the guy
As talked, a lot of thanks by these and other helps that you provided me
For all, if needed, to put it working in all pages (Status View) you should add the codes on the follow files:
Core.Header.css
Core.Agent.Header.js
I had to had on CSS also, the flag of !important
This is also info given by zzz.
This is the guy