7

Open up a privilege breakdown from the list of privileges on Meta.SE.

For this example, I'll use Vote Up.

The "Privilege Type:" text should be before its related symbol. Instead, it's after.

This appears to be cross-network, as it is also displayed this way on Stack Overflow's Vote Up page. (Dark mode appears to be irrelevant)

  • 2
    Similar Q&A on RSO's meta: ru.meta.stackoverflow.com/questions/10351/… – Rob Apr 13 at 15:47
  • Freehand circles would actually be useful (they don't have to be ugly). It is not clear what symbol is referred to. – P.Mort. - forgot Clay Shirky_q May 1 at 17:39
  • @P.Mort.-forgotClayShirky_q I'd edit some in, but the problem's already been fixed. The issue was that the symbol (the little up down arrows) should be after the "Privilege type:" text. Simply put, the order of the text was swapped. It should be "Privilege type: (symbol) Moderation privilege" – Spevacus May 1 at 20:14
4

This will be fixed in the next build. Thanks for the report!

Kind of a funny problem here. The icon and the type description used to be rendered via a helper function. There are no helpers in .NET Core, so it was replaced with a function that ended up writing markup out immediately when called when what we actually wanted was to use it as a parameter to our translation engine:

@functions {
    string PrivilegeIcon(Privilege privilege)
    {
        // var title = ...;
        <i title="@title"></i>@title
        return null;
    }
}

@_m("Privilege type: $icon$", new { icon = PrivilegeIcon(Model.SelectedPrivilege.Privilege) })
| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .