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 install it, simply copy the BetterStatusColors directory in the plugins directory of your mantis installation and activate the plugin from the administration section.
Copied all files in plugin directory but mantis v2.2 does not seen this plugin.
I’ve just updated the code on github to remove a dependency on v2.0.0, so it should work now
I have just upgrade to 2.3.1 and the admin page cannot see the plug in.
i am missing something
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
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
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();”)
Make sure that the map name is BetterStatusColors and not BetterStatusColors-master in the pugin location.
thanks i finally got working by removing the -1.0.2 in the folder name.
Thanks mantis user
Would it be possible to color whole row?
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
Thanks for the plugin, i’ve been looking a while to find it. Unfortunately, when I add some custom statuses values, the plugin doesn’t work anymore. Do you have any idea why this is happening ?
Iâ€™m using the plugin on a setup with custom statuses without any problem: what it does is simply move CSS classes around, so an extra status shouldnâ€™t make a difference. Just make sure to use the latest version of the plugin from github if youâ€™ve updated your mantis setup.
Also, try clearing your browser cache: Iâ€™ve witnessed some malfunctions that got solved this way
Fantastic Plugin! Works like a charme out of the box.
Thank you so much for this.
I am colorblind and this Plugin is realy a big help for me!!
It is hard to recognize a Color on a Little square. With your Plugin i can easyli recognize the Colors.
Thank you !!!
Installed on Mantis 2.25.1
I had to change $this->requires = array(”); to $this->requires = array(‘MantisCore’ => ‘2.0.0’); in the register() function in BetterStatusColors.php otherwise the [Install] button is absent in the Plugin manager.
After that the plug in works nicely.
Just tried installing the latest version, and it appears that the change in BetterStatusColors.php has already been applied. Works great without modification now.