freeipa/install/ui
Petr Vobornik 26bd309c96 webui: treat value as pkey in link widget
Current default mechanism of a link widget assumes that pkeys of a current facet are pkeys for the link. It works for the only usage - in password policy. It's rather inflexible since it can't be used if the keys are in other attribute. This behavior is also bad in nested entities - creates a link to itself which is pointless.

This patch changes the default behavior to assume that the supplied value are the pkeys and that the last pkey is the value to display.

It also keeps the old method of overriding `other_pkeys` method so if the last and only pkey is the actual value to display then the method can tranform it into the pkeys which keeps compatibility with descendant widgets (`host_dnsrecord_entity_link_widget`, `dnsrecord_host_link_widget`).

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
2014-09-30 10:47:03 +02:00
..
build install/ui/build: Build core.js 2014-06-30 18:17:28 +02:00
css webui: add PaternFly css 2014-06-10 10:23:21 +02:00
doc webui: bind Login facet and OTP sync facet 2014-06-30 12:27:04 +02:00
images webui: adjust login page to PatternFly 2014-06-10 10:23:28 +02:00
js Web UI plugin loader 2013-05-06 16:22:20 +02:00
less webui: sshkey widget - usability fixes 2014-08-21 14:10:35 +02:00
src webui: treat value as pkey in link widget 2014-09-30 10:47:03 +02:00
test webui: add i18n for the rest of QR code strings 2014-09-11 17:55:17 +02:00
util webui-build: use /usr/share/java/js.jar instead of rhino.jar 2014-07-03 14:19:25 +02:00
favicon.ico favicon 2011-02-03 15:04:23 -05:00
ie.css Fixed display of attributes_widget in IE9 2012-07-17 15:55:44 +02:00
index.html webui: add PaternFly css 2014-06-10 10:23:21 +02:00
ipa.css webui: improve rule table css 2014-08-21 14:10:35 +02:00
jsl.conf webui: login page 2014-04-15 12:41:54 +02:00
Makefile.am webui: add sync_otp.html 2014-06-30 12:27:05 +02:00
README-LICENSE.txt webui: remove remnants of jquery-ui 2014-06-10 10:23:22 +02:00
reset_password.html webui: adjust behavior of bounce url 2014-09-08 12:32:16 +02:00
reset_password.js webui: adjust behavior of bounce url 2014-09-08 12:32:16 +02:00
sync_otp.html webui: add sync_otp.html 2014-06-30 12:27:05 +02:00