Recover status icon

From Free Software Directory
Jump to: navigation, search

Issue assigned to: User:Adfeno.

Is top priority issue? true.

For Free_Software_Directory:Issues#GitHub-style issues should receive a colored info icon.

  • Open issues should have a green icon: 🛈
  • Closed issues should have a green icon: 🛈

Old manual solution

My old solution was: <span style="font-weight: normal; color:{{#ifeq: {{{category_requirement_2}}}|Open issues|green|red}}" title="{{#ifeq: {{{category_requirement_2}}}|Open issues|Open|Closed}} issue">🛈</span> but it doesn't work any more because category_requirement_2 has been removed from {{FSD tracker|[[Category:Issue/Backlog Admin Group/Client-side/Tracker]] [[Category:Issue/Closed]]}}.

Automatic solution

Ideally, we should detect Category:Issue/Open or Category:Issue/Closed automatically and apply the color based on the result.


Free Software Directory talk:Issues/7#Revision 85864

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.