Display user location (and custom field) on group members page

The template affected here is:

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/group-index.hbs

To edit this template from a plugin would, I’m relatively sure, require overwriting the whole template, so it would be nicer to submit this as a PR.

I expect different organisations have different wants for what columns do display in the group page, so I think it would make sense to add a site setting which allows an admin to change what columns are displayed. Something like this:

my_organisation being the custom field there. From an ease-of-coding standpoint it might have to be something more like user_field:1.

I think that would best fit under site_settings/category/users. I’m happy to be corrected, though.

Would this be welcomed as a PR?

2 לייקים