[Freeipa-devel] [PATCH] 428 Hide delete button in multivalued widget if attr is not writable
James
purpleidea at gmail.com
Fri Jul 19 20:24:48 UTC 2013
On Fri, 2013-07-19 at 17:59 +0200, Petr Vobornik wrote:
> Hello,
>
> Note: the button is actually in a form of a link
I didn't notice this before.
Sorry for the noise.
James
>
> The approach you're proposing is often valid and a preferred one but
> I
> don't think it's the best approach for our case.
>
> Web UI uses a pattern where textboxes are changed to simple text when
> user doesn't have write rights. This transformation pretty much says:
> "no you can't do anything with this attribute". This pattern is all
> around the UI since textbox is the most common widget.
>
> Multivalued widget internally uses textboxes and so that
> transformation.
> It also already hides the 'add' button (link). IMO leaving 'delete'
> buttons next to the text values just clutters the UI.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130719/7f432249/attachment.sig>
More information about the Freeipa-devel
mailing list