mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: use dark color for facet titles without pkey
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
parent
29f60931e2
commit
2df5e0b132
@ -74,6 +74,10 @@ textarea[readonly] {
|
|||||||
color: gray;
|
color: gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.facet-title.no-pkey {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.facet-pkey {
|
.facet-pkey {
|
||||||
color:black;
|
color:black;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
|
@ -1402,7 +1402,8 @@ exp.facet_title = IPA.facet_title = function(spec) {
|
|||||||
var icon_tooltip = data.icon_tooltip || '';
|
var icon_tooltip = data.icon_tooltip || '';
|
||||||
|
|
||||||
that.title.text(data.title);
|
that.title.text(data.title);
|
||||||
that.title.attr('title', tooltip);
|
that.title.prop('title', tooltip);
|
||||||
|
that.title_container.toggleClass('no-pkey', !data.pkey);
|
||||||
|
|
||||||
if (data.pkey) {
|
if (data.pkey) {
|
||||||
that.title.text(data.title + ': ');
|
that.title.text(data.title + ': ');
|
||||||
|
Loading…
Reference in New Issue
Block a user