Hello,
I created a new priority (apart from the 5 built-in ones) and the question here is how can I set its color?
Best regards.
Andy
Color for new priority
Moderator: crythias
-
- Znuny newbie
- Posts: 78
- Joined: 30 Jan 2014, 15:27
- Znuny Version: 4.0.19
- Location: Poland
- Contact:
Color for new priority
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5
KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Color for new priority
Hi,
You might create tyour own css files, search the forum for this. Or use Znuny4OTRS-CustomPriorityColor. I recommend installing Znuny4OTRS-Repo to have it available via the package manager.
- Roy
P.S.: You should update your system if it's really a 4
You might create tyour own css files, search the forum for this. Or use Znuny4OTRS-CustomPriorityColor. I recommend installing Znuny4OTRS-Repo to have it available via the package manager.
- Roy
P.S.: You should update your system if it's really a 4
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 78
- Joined: 30 Jan 2014, 15:27
- Znuny Version: 4.0.19
- Location: Poland
- Contact:
Re: Color for new priority
I added the following line to the Core.Default.Css file, but unfortunately it doesn't work
EDIT:
I gave up css and installed Znuny4OTRS-CustomPriorityColor and everything works.
I have to do a little research on where to change these colors after installing this add-on, but it worked.
Thank you and best regards.
Code: Select all
.Flag span.PriorityID-0 {
background-color:#03c4f0;
}
We are in the process of upgrading to version 6 so the days of version 4 are now numberedP.S.: You should update your system if it's really a 4
EDIT:
I gave up css and installed Znuny4OTRS-CustomPriorityColor and everything works.
I have to do a little research on where to change these colors after installing this add-on, but it worked.
Thank you and best regards.
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5
KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Color for new priority
Hello Andy,
If you make changes to CSS or JavaScript files, you have to get sure that the cache is rebuilt (bin/otrs.Console.pl Maint::Loader::CacheCleanup).
But I'd recommend using an add-on instead of making file changes unless you want to package them.
The add-on from Znuny, which Roy linked, can do that. We also offer a free add-on "CustomCSS" (https://github.com/efflux/CustomCSS/), which also allows you to add your custom CSS code to the system (with templates for priorities).
Best regards
Emin
If you make changes to CSS or JavaScript files, you have to get sure that the cache is rebuilt (bin/otrs.Console.pl Maint::Loader::CacheCleanup).
But I'd recommend using an add-on instead of making file changes unless you want to package them.
The add-on from Znuny, which Roy linked, can do that. We also offer a free add-on "CustomCSS" (https://github.com/efflux/CustomCSS/), which also allows you to add your custom CSS code to the system (with templates for priorities).
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