Make status colors more prominent in MantisBT 2.0

Once upon a time, MantisBT used to create a colorful table with all your issues, using the status color as a background for the whole row. Since version 2.0, the status color has been moved to a small box in the status column, making it harder to spot the info you’re looking for at a glance.

I don’t like it, people I work with don’t like it… and if you’ve reached this page from a Google search, chances are you don’t like it either 🙂

So I wrote a little plugin that will change the list from:

to:

To install it, simply copy the BetterStatusColors directory in the plugins directory of your mantis installation and activate the plugin from the administration section.

10 comments

    • Simone says:

      I’ve just upgraded too to test it, but I can still use the plugin correctly.

      Make sure that you’ve copied the plugin directory in your new mantis installation and that the file permissions are correct. Also, check that you’re using the latest release of the plugin from github

  1. xose says:

    HI Simone
    Thank you very much for your reply.
    yes i have downloaded the latest build 1.0.2 and yes i have copied it to the correct directory and the permission are fine but still no luck. Could it be that the other plugins i have are stopping yours from working. I have these installed
    1)Avatars via Gravatar 2.3.1
    2)Import/Export issues 2.3.1
    3)Mantis Graphs 2.3.1
    4)Mantis BT Core 2.3.1
    5)Mantis BT Formatting 2.3.1

    they all use MantisBT Dependencies 2.0.0 except the Formatting which uses the 2.1.0.

    Any help is greatly appreciated and again thanks for your time

    • Simone says:

      the plugin is so simple that there’s shouldn’t be any conflict with other plugins.

      At the very least, you should see the plugin in the admin page (either as installed or among the available plugins). If you don’t see it there, I can only speculate that the files are not in the correct location (e.g. you should have /plugins/BetterStatusColors/BetterStatusColors.php), that the permissions are not correct or that the plugin is not the latest one (make sure that line 36 reads “$this->requires = array();”)

  2. mantis user says:

    Make sure that the map name is BetterStatusColors and not BetterStatusColors-master in the pugin location.

    • Simone says:

      I guess it could. You’d have to modify the plugin to insert the status class into the <tr> element and probably add a few other styles to keep the text readable

Leave a Reply

Your email address will not be published. Required fields are marked *