From e3ec1fb7efb12c3669855b6c388f196c268680ee Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 11 Apr 2011 20:22:38 -0500 Subject: Entitlement registration. The entitlement facet will show buttons according to the entitlement status. If it's unregistered, the facet will show a Register button. If it's registered, the facet will show a Consume button. --- install/ui/entity.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'install/ui/entity.js') diff --git a/install/ui/entity.js b/install/ui/entity.js index 4db58465..23f792d1 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -64,6 +64,9 @@ IPA.facet = function (spec) { }; function init() { + + that.entity = IPA.get_entity(that.entity_name); + for (var i=0; i