Re: [Freeipa-devel] [PATCH] admiyo-0146-hide-unselectable-option

2011-01-14 Thread Adam Young

On 01/14/2011 01:39 PM, Kyle Baker wrote:

ACK, Run it.

- Original Message -

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Pushed to master
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Re: [Freeipa-devel] [PATCH] admiyo-0146-hide-unselectable-option

2011-01-14 Thread Kyle Baker
ACK, Run it.

- Original Message -
> ___
> Freeipa-devel mailing list
> Freeipa-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
From a68b2d2aa37e748c2d00b70bd7d1ea114a4488be Mon Sep 17 00:00:00 2001
From: Adam Young 
Date: Fri, 14 Jan 2011 13:29:54 -0500
Subject: [PATCH] hide unselectable options
 If an option is not selectable from the action panel, hide it until it is selectable
 addresses https://fedorahosted.org/freeipa/ticket/747

---
 install/static/entity.js |2 +-
 install/static/ipa.css   |7 +--
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/install/static/entity.js b/install/static/entity.js
index 38ce47ed7b80f8559c980b4a024431a71804c5af..96849e780bb2099cc077a8c8de679cfacc7b8f99 100644
--- a/install/static/entity.js
+++ b/install/static/entity.js
@@ -512,7 +512,7 @@ IPA. facet_create_action_panel = function(container) {
 var facet_group = other_facet.facet_group;
 if (!facet_groups[facet_group]) {
 li = $('', {
-'class': 'entity-facet-relation-label',
+'class': 'entity-facet entity-facet-relation-label',
 'text': other_facet.facet_group,
 'title': other_facet.facet_group
 });
diff --git a/install/static/ipa.css b/install/static/ipa.css
index 2e61d6d9d911df012facbb3497e2315853fcd5c1..cdeb4045e29fdf162b781d2ceec8cd1168891556 100644
--- a/install/static/ipa.css
+++ b/install/static/ipa.css
@@ -501,12 +501,7 @@ span.main-separator{
 }
 
 .action-panel li.entity-facet-disabled {
-font-family: "Liberation Sans",Arial,sans-serif;
-color: gray;
-cursor: default;
-text-decoration: none;
-text-transform: none;
-
+display:none;
 }
 
 .action-panel li.entity-facet-relation-label {
-- 
1.7.3.4

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel