Alex I via FreeIPA-users wrote:
> The mailalt.js in my original message is based (pretty much a copy, except of 
> adding 'text' instead of radio button) on the code in the userstatus code - 
> https://github.com/abbra/freeipa-userstatus-plugin/blob/master/plugin/ui/userstatus.js.
> 
> As I said I don't know js/python so all I can do is to imitate. 

They don't let me touch the UI any more. I'm terrible at it.

But from what little I know I think you're missing the options section
which is where the labels are defined. They will be retrieved remotely
if they are defined (so translatable).

I believe you'd also need a server-side change to define the alternate
mail attribute but the others should already be available via the user
plugin.

rob

> 
> Rob Crittenden wrote:
>>> Did you look in detail at the example userstatus plugin github repo you
>> referenced? Exposing existing attributes is what the plugin does via
>> example.
>> rob

-- 
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to