Because views uses role names in the categorization of blocks for organizers and contributors, we needed to originally change those role names accordingly. However, the cascading effect of this change was not optimal, IE 'Organizers' as a group name, being plural, doesn't make sense. Nor does adding a view label for 'member'.

Instead, we should create a view template for these associated blocks that grabs the role id and changes the label to show what we want, 'Organizers' and 'Contributors'

I've reverted the existing role changes, so you should just need to theme the view to get the labels looking correctly again. It looks like this in the interactive prototype:

https://projects.invisionapp.com/share/FW3OD3SQ#/screens/2438205

Comments

Zarabadoo’s picture

If this it a text change, isn't it something we would want to exist outside of the theme? If a user wants to swap out the theme entirely, we are putting a lot of dependency on using Commons Origins to get the appropriate string changes.

ezra-g’s picture

Title: Theme group membership view blocks to display labels of OG roles instead of the actual role itself » Theme group membership view blocks to display correct OG role names
Assigned: ezra-g » Zarabadoo
Priority: Normal » Major
Issue tags: +Commons 7.x-3.1 radar
Zarabadoo’s picture

japerry’s picture

made a change to commons_groups that allows the administrative title to continue to function properly and not duplicate 'organizers' on the block

http://drupalcode.org/project/commons_groups.git/commit/0485446

ezra-g’s picture

Status: Fixed » Needs work

These are still showing in the opposite order for me.

ezra-g’s picture

Title: Theme group membership view blocks to display correct OG role names » Group Contributors block role names change order
Issue tags: -Commons 7.x-3.1 radar

Let's release the improved block as-is and revise after the 3.1 release.

lsolesen’s picture

Version: » 7.x-3.x-dev
Issue summary: View changes