Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680894 - Update free Fontawesome icons on assets.gentoo.org to 4.7.0
Summary: Update free Fontawesome icons on assets.gentoo.org to 4.7.0
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Tyrian layout (show other bugs)
Hardware: All All
: Normal trivial (vote)
Assignee: Gentoo Website Team
URL: https://wiki.gentoo.org/index.php?tit...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-18 20:53 UTC by Ramon Fischer
Modified: 2019-05-04 23:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon Fischer 2019-03-18 20:53:16 UTC
Using icons in Infobox templates sometimes work and sometimes not.

Reproducible: Always

Steps to Reproduce:
1. Add the following Infobox templates:
    {{InfoBox|info=this is gitlab|icon=gitlab}}
    {{InfoBox|info=this is code-branch|icon=code-branch}}
2. Preview the wiki page
Actual Results:  
There is neither a gitlab nor a code-branch icon from Fontawesome like as shown on this page: https://fontawesome.com/icons/gitlab?style=brands

I guess there will be much more missing icons.

Expected Results:  
The InfoBoxes should contain their respective icons like this one:
    {{InfoBox|info=this is code|icon=code}}

It might be that it corresponds with the current installed version of "media-fonts/fontawesome": https://bugs.gentoo.org/668502

Have your servers installed a newer version of fontawesome or is it the same like every Gentoo user can install?

ramon@lenovo ~/tmp % eix fontawesome
* media-fonts/fontawesome
     Available versions:  ~4.7.0(0/4) ~5.0.6(0/5) ~5.1.0(0/5) {X +otf +ttf}
     Homepage:            https://fontawesome.com
     Description:         The iconic font

---

The HTML source code on my wiki profile page looks OK:

GitLab icon:

    <div id="infobox" class="list-group-item" style="display: flex; align-items: center; padding: 5px; min-     height: 3em;">
    <span style="display: inline-block; width: 3em; overflow: hidden; text-align: center;">
    <span class="fa fa-gitlab fa-fw fa-2x"></span></span><span>some text</span>
    </div>

Code icon:

    <div id="infobox" class="list-group-item" style="display: flex; align-items: center; padding: 5px; min-     height: 3em;">
    <span style="display: inline-block; width: 3em; overflow: hidden; text-align: center;">
    <span class="fa fa-code fa-fw fa-2x"></span></span><span>some text</span>
    </div>
Comment 1 Brian Evans (RETIRED) gentoo-dev 2019-03-18 22:41:11 UTC
This is not limited to the wiki.  All Gentoo websites have a static copy of font-awesome 4.7.0 installed in the Tyrian layout repository
Comment 2 Brian Evans (RETIRED) gentoo-dev 2019-03-18 23:03:36 UTC
For some reason, the sites have https://assets.gentoo.org/tyrian/fontawesome-webfont.woff2?v=4.4.0 has the requested version.  Perhaps the 4.7.0 upgrade did not register on assets.gentoo.org
Comment 3 Ramon Fischer 2019-05-04 19:40:11 UTC
Just visited my profile and the GitLab icon is visible!