Mantis bug coloring for Bugzilla

Makes any Bugzilla-based bugtracker bearable to use

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        Mantis bug coloring for Bugzilla
// @author      Swyter
// @description Makes any Bugzilla-based bugtracker bearable to use
// @namespace   userscripts.org/user/swyter
// @include     *://bugzilla.*/buglist.cgi*
// @version     2019.02.09
// @grant       GM_addStyle
// @run-at      document-start
// ==/UserScript==

GM_addStyle
(`
  .bz_NEW              { background-color: #fcbdbd; } /* swy: i.e. new              */
  .bz_FEEDBACK         { background-color: #e3b7eb; } /* swy: i.e. feedback         */
  .bz_RELEASED_TO_TEST { background-color: #ffcd85; } /* swy: i.e. released to test */
  .bz_CONFIRMED        { background-color: #fff494; } /* swy: i.e. confirmed        */
  .bz_ASSIGNED         { background-color: #c2dfff; } /* swy: i.e. assigned         */
  .bz_RESOLVED         { background-color: #d2f5b0; } /* swy: i.e. resolved         */
  .bz_CLOSED           { background-color: #c9ccc4; } /* swy: i.e. closed           */
`);