Project

General

Profile

Actions

Feature #20289

open

Add category-id to issue's CSS classes when present

Added by Mischa The Evil over 8 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

This feature has initially been requested on the forum (Configure custom icons for Project Categories).

I'll attach a tiny patch (that includes a simple test) which is made against source:/trunk@14420 using git format-patch. It can be applied using patch -p1 < 0001-....


Files

Actions #1

Updated by Toshi MARUYAMA over 8 years ago

  • Target version set to 3.2.0
Actions #2

Updated by Jean-Philippe Lang over 8 years ago

  • Target version changed from 3.2.0 to Candidate for next major release

Categories are defined per projet and much more enclined to change than trackers and statuses. I don't think many people would make us of that and I'd prefer to get more feedback before adding it to the core.

Actions #3

Updated by Toshi MARUYAMA over 8 years ago

Sorry, what does "enclined" mean?

Actions #4

Updated by Jean-Philippe Lang over 8 years ago

Sorry, typo: inclined.

Actions #5

Updated by Manuel Palachuk almost 7 years ago

Jean-Philippe Lang wrote:

Categories are defined per projet and much more enclined to change than trackers and statuses. I don't think many people would make us of that and I'd prefer to get more feedback before adding it to the core.

I'm reviewing this post as I have recently updated my entire multi instance site to the latest redmine.
It took me a bit to realize that all my icons for categories were broken. So I'll apply the patch and see if it helps.

While I'm here I may as well add my two cents.
Having relied on this to create a really robust GUI for my environment I have also found the frustration of having to go edit the .css to add a whole new set of element definitions just becasue I created another project and I'd like it to have the same categories and associated icons.

I have of course built a custom theme and I manage the css callouts for the icons in the theme application.css, not in the core.

All that being said, if the code snippet is included in the core, it allows those who wish to use the icons an option to do so in their custom theme. And if I someone were so inclined they could write a plugin to allow selection of icons to be used for the entire array of categories used across all projects in the instance. Maybe they would even write one to allow you to change or override other icons in the instance.

Leave it out and we have to path/hack.

One simple code inclusion and Redmine gets that much more versatile for those who wish to take advantage of the option.

Thank you by the way, for this fantastic program!

Actions

Also available in: Atom PDF