Feature #13297
openAdding icons for different trackers
0%
Description
It would be great to have set of icons that can be associated with the tracker, as in Jira. Then, instead of the name of the tracker could display its icon and thus save space in the task list, such as additional columns.
Files
Related issues
Updated by Pavel Lautsevich over 11 years ago
- File jira-icons.png jira-icons.png added
Something like this. In addition, the icons can be added to the "Priority" and "Status".
Updated by Jan Niggemann (redmine.org team member) over 11 years ago
That should IMHO be made using a theme...
Updated by Pavel Lautsevich over 11 years ago
Why? Two different users can use two different themes, but they both can want to have the same icons. And as in the case of theme, you can associate a specific tracker with a certain icon?
Updated by Filou Centrinov over 11 years ago
I also would'nt insert a icon. But if the theme is going to set a icon we need a class for the tracker. The status and the priority are already available as classes like status-1
or priority-2
So my request: Please, add a class for the tracker.
Updated by Benjamin Jeanjean over 11 years ago
It would be really useful ! It's much easier to see the status directly with icons !
I think it must be implements in theme core, not in special theme.
It would be a pain to make a new set of icons for new theme !
There's a lot of free set icons like :
- http://p.yusukekamiyamane.com/
- http://www.famfamfam.com/
Of with fonts :
- http://fortawesome.github.com/Font-Awesome/
Wouldn't be so hard to add extra CSS class and set of icons associated ! :)
Updated by Pavel Lautsevich over 11 years ago
I can provide unique icons for Redmine!
Updated by Jan Niggemann (redmine.org team member) over 11 years ago
We keep the visual aspects (i.e. the representation of the information) apart so people can theme redmine to their liking.
IMHO this issue is about theme development and not about redmine core...
Pavel Lautsevich wrote:
Why? Two different users can use two different themes
Since when?
Updated by Filou Centrinov over 11 years ago
Related with #13309. (Add tracker class)
Updated by Pavel Lautsevich over 11 years ago
Ok take out icons in the templates. How then can a custom tracker assign custom icon without editing the CSS?
Updated by Filou Centrinov over 11 years ago
The easiest way to insert the tracker icons is to edit the application.css from your theme. Furthermore you insert some Javascript to skip the tracker text value. You need Remine 2.3 or higher because this adaptation depends on #13309.
public/themes/YOUR_THEME/javascript/theme.js
function addTrackerIcons() {
$('tr.issue td.tracker').empty();
}
$(document).ready(addTrackerIcons);
public/themes/YOUR_THEME/stylesheets/application.css
table.issues tr.tracker-1 td.tracker {
background: url("../images/YOUR_TRACKER_IMAGE_01.png") no-repeat scroll 50% 0 transparent;
}
table.issues tr.tracker-2 td.tracker {
background: url("../images/YOUR_TRACKER_IMAGE_02.png") no-repeat scroll 50% 0 transparent;
}
/* Add further tracker icons...*/
If you want to keep the tracker text modify the css like this only:
public/themes/YOUR_THEME/stylesheets/application.css
table.issues td.tracker {
padding-left: 20px;
}
table.issues tr.tracker-1 td.tracker {
background: url("../images/YOUR_TRACKER_IMAGE_01.png") no-repeat scroll 0 0 transparent;
}
table.issues tr.tracker-2 td.tracker {
background: url("../images/YOUR_TRACKER_IMAGE_02.png") no-repeat scroll 0 0 transparent;
}
/* Add further tracker icons...*/
Don't forget to add your tracker images to public/themes/YOUR_THEME/images/.
Updated by Pavel Lautsevich over 11 years ago
Guys you talk about geeks way, I talk about best user experience way.
Updated by Daniel Felix over 11 years ago
Updated by Daniel Felix over 11 years ago
I'll provide a patch for this as soon as possible. :-)
Updated by Terence Mill over 11 years ago
This is a nice fature and would to be able to define a icon per tracker which symbolizes the issue in the issue views, roadmap and wiki macro. It could be used additional or as replacement in any view for a quick visual understanding which issues are of what tracker type. This bitmaps shall be default but configurable, as vor addtional trackers, nobdoy knows which icons could fit best as the creator or admin of the instance.
Updated by Daniel Felix over 11 years ago
In the first patch I just provide icons and some colourcodingfs for the issue list and roadmap list.
Maybe I could extend this later.
Updated by Pavel Lautsevich over 11 years ago
+1 to Terence!
Daniel, I'll be waiting impatiently results!
Updated by Bruno Medeiros over 11 years ago
If you need some help to test and give feedback, just let me know.
Updated by Daniel Felix over 11 years ago
Updated by Eugene Batogov over 10 years ago
Hello all.
Please, try my little plugin for these requirements
https://github.com/JohnBat26/redmine_issue_icons