https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-02-26T18:22:06ZRedmineRedmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=461212013-02-26T18:22:06ZPavel Lautsevich
<ul><li><strong>File</strong> <a href="/attachments/9169">jira-icons.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9169/jira-icons.png">jira-icons.png</a> added</li></ul><p>Something like this. In addition, the icons can be added to the "Priority" and "Status".</p>
<p><img src="https://www.redmine.org/attachments/download/9169/jira-icons.png" alt="" /></p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=461282013-02-26T20:14:27ZJan Niggemann (redmine.org team member)jan.niggemann@redmine.org
<ul></ul><p>That should IMHO be made using a theme...</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=461312013-02-26T20:30:21ZPavel Lautsevich
<ul></ul><p>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?</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=461322013-02-26T20:58:51ZFilou Centrinov
<ul></ul><p>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 <code>status-1</code> or <code>priority-2</code></p>
<p>So my request: Please, add a class for the tracker.</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=461522013-02-27T11:02:40ZBenjamin Jeanjean
<ul></ul><p>It would be really useful ! It's much easier to see the status directly with icons !</p>
<p>I think it must be implements in theme core, not in special theme.<br />It would be a pain to make a new set of icons for new theme !</p>
<p>There's a lot of free set icons like :<br />- <a class="external" href="http://p.yusukekamiyamane.com/">http://p.yusukekamiyamane.com/</a> <br />- <a class="external" href="http://www.famfamfam.com/">http://www.famfamfam.com/</a></p>
<p>Of with fonts : <br />- <a class="external" href="http://fortawesome.github.com/Font-Awesome/">http://fortawesome.github.com/Font-Awesome/</a></p>
<p>Wouldn't be so hard to add extra CSS class and set of icons associated ! :)</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=461652013-02-27T14:21:48ZPavel Lautsevich
<ul></ul><p>I can provide unique icons for Redmine!</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=461742013-02-27T17:40:17ZJan Niggemann (redmine.org team member)jan.niggemann@redmine.org
<ul></ul><p>We keep the visual aspects (i.e. the representation of the information) apart so people can theme redmine to their liking.<br />IMHO this issue is about theme development and not about redmine core...</p>
<p>Pavel Lautsevich wrote:</p>
<blockquote>
<p>Why? Two different users can use two different themes</p>
</blockquote>
<p>Since when?</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=461782013-02-27T22:29:05ZFilou Centrinov
<ul></ul><p>Related with <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Add "tracker-[id]" CSS class to issues (Closed)" href="https://www.redmine.org/issues/13309">#13309</a>. (Add tracker class)</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=462702013-03-01T21:27:49ZPavel Lautsevich
<ul></ul><p>Ok take out icons in the templates. How then can a custom tracker assign custom icon without editing the CSS?</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=462782013-03-02T10:04:47ZFilou Centrinov
<ul></ul><p>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 <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Add "tracker-[id]" CSS class to issues (Closed)" href="https://www.redmine.org/issues/13309">#13309</a>.</p>
<p>public/themes/YOUR_THEME/javascript/theme.js<br /><pre><code class="Javascript syntaxhl"><span class="kd">function</span> <span class="nx">addTrackerIcons</span><span class="p">()</span> <span class="p">{</span>
<span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1">tr.issue td.tracker</span><span class="dl">'</span><span class="p">).</span><span class="nx">empty</span><span class="p">();</span>
<span class="p">}</span>
<span class="nx">$</span><span class="p">(</span><span class="nb">document</span><span class="p">).</span><span class="nx">ready</span><span class="p">(</span><span class="nx">addTrackerIcons</span><span class="p">);</span>
</code></pre></p>
<p>public/themes/YOUR_THEME/stylesheets/application.css<br /><pre><code class="CSS syntaxhl"><span class="nt">table</span><span class="nc">.issues</span> <span class="nt">tr</span><span class="nc">.tracker-1</span> <span class="nt">td</span><span class="nc">.tracker</span> <span class="p">{</span>
<span class="nl">background</span><span class="p">:</span> <span class="sx">url("../images/YOUR_TRACKER_IMAGE_01.png")</span> <span class="nb">no-repeat</span> <span class="nb">scroll</span> <span class="m">50%</span> <span class="m">0</span> <span class="nb">transparent</span><span class="p">;</span>
<span class="p">}</span>
<span class="nt">table</span><span class="nc">.issues</span> <span class="nt">tr</span><span class="nc">.tracker-2</span> <span class="nt">td</span><span class="nc">.tracker</span> <span class="p">{</span>
<span class="nl">background</span><span class="p">:</span> <span class="sx">url("../images/YOUR_TRACKER_IMAGE_02.png")</span> <span class="nb">no-repeat</span> <span class="nb">scroll</span> <span class="m">50%</span> <span class="m">0</span> <span class="nb">transparent</span><span class="p">;</span>
<span class="p">}</span>
<span class="c">/* Add further tracker icons...*/</span>
</code></pre></p>
<p>If you want to <strong>keep</strong> the tracker text modify the css like this only:</p>
<p>public/themes/YOUR_THEME/stylesheets/application.css<br /><pre><code class="CSS syntaxhl"><span class="nt">table</span><span class="nc">.issues</span> <span class="nt">td</span><span class="nc">.tracker</span> <span class="p">{</span>
<span class="nl">padding-left</span><span class="p">:</span> <span class="m">20px</span><span class="p">;</span>
<span class="p">}</span>
<span class="nt">table</span><span class="nc">.issues</span> <span class="nt">tr</span><span class="nc">.tracker-1</span> <span class="nt">td</span><span class="nc">.tracker</span> <span class="p">{</span>
<span class="nl">background</span><span class="p">:</span> <span class="sx">url("../images/YOUR_TRACKER_IMAGE_01.png")</span> <span class="nb">no-repeat</span> <span class="nb">scroll</span> <span class="m">0</span> <span class="m">0</span> <span class="nb">transparent</span><span class="p">;</span>
<span class="p">}</span>
<span class="nt">table</span><span class="nc">.issues</span> <span class="nt">tr</span><span class="nc">.tracker-2</span> <span class="nt">td</span><span class="nc">.tracker</span> <span class="p">{</span>
<span class="nl">background</span><span class="p">:</span> <span class="sx">url("../images/YOUR_TRACKER_IMAGE_02.png")</span> <span class="nb">no-repeat</span> <span class="nb">scroll</span> <span class="m">0</span> <span class="m">0</span> <span class="nb">transparent</span><span class="p">;</span>
<span class="p">}</span>
<span class="c">/* Add further tracker icons...*/</span>
</code></pre></p>
<p>Don't forget to add your tracker images to public/themes/YOUR_THEME/images/.</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=462802013-03-02T10:31:35ZPavel Lautsevich
<ul></ul><p>Guys you talk about geeks way, I talk about best user experience way.</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=480532013-04-09T10:07:53ZDaniel Felix
<ul></ul><p>This issue duplicates <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: icons per tracker for tickets symbol additional or as replacement for ticket type text (Closed)" href="https://www.redmine.org/issues/6614">#6614</a>, but I'm closing <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: icons per tracker for tickets symbol additional or as replacement for ticket type text (Closed)" href="https://www.redmine.org/issues/6614">#6614</a> as this one has more details.</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=480612013-04-09T10:32:49ZDaniel Felix
<ul></ul><p>I'll provide a patch for this as soon as possible. :-)</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=480712013-04-09T10:58:23ZTerence Mill
<ul></ul><p>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.</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=480752013-04-09T11:16:06ZDaniel Felix
<ul></ul><p>In the first patch I just provide icons and some colourcodingfs for the issue list and roadmap list.</p>
<p>Maybe I could extend this later.</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=480902013-04-09T12:37:08ZPavel Lautsevich
<ul></ul><p>+1 to Terence!</p>
<p>Daniel, I'll be waiting impatiently results!</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=492672013-05-08T16:37:52ZBruno Medeiros
<ul></ul><p>If you need some help to test and give feedback, just let me know.</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=492882013-05-09T09:01:36ZDaniel Felix
<ul></ul><p>I've provided a hardcoded patch for this with some other things together in <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: Issue Colors Patch for #4967 (New)" href="https://www.redmine.org/issues/13747">#13747</a>. This won't be dynamicly. I'll work on another addition, which lets the user define these by himself on top of the patch from <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: Issue Colors Patch for #4967 (New)" href="https://www.redmine.org/issues/13747">#13747</a>.</p>
<p>But maybe for the start, this could be helpful.</p>
<p>Best regards,<br />Daniel</p> Redmine - Feature #13297: Adding icons for different trackershttps://www.redmine.org/issues/13297?journal_id=566342014-06-04T11:55:28ZEugene Batogov
<ul></ul><p>Hello all.<br />Please, try my little plugin for these requirements<br /><a class="external" href="https://github.com/JohnBat26/redmine_issue_icons">https://github.com/JohnBat26/redmine_issue_icons</a></p>