From 2f048224d2509cddf07532f9703aa88f4eebc9b8 Mon Sep 17 00:00:00 2001 From: Pavel Vomacka Date: Tue, 14 Jun 2016 19:30:06 +0200 Subject: Updated certificates table All certificates which are not issued by IPA CA are grey and not clickable. That's because these certificates are not maintained by IPA CA. Part of: https://fedorahosted.org/freeipa/ticket/5381 Reviewed-By: Petr Vobornik --- install/ui/src/freeipa/certificate.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js index cba50171b..232bdbf2f 100755 --- a/install/ui/src/freeipa/certificate.js +++ b/install/ui/src/freeipa/certificate.js @@ -1540,6 +1540,7 @@ return { disable_facet_tabs: false, tabs_in_sidebar: true, tab_label: '@i18n:tabs.cert', + row_enabled_attribute: 'status', facet_groups: [exp.facet_group], facet_group: 'certificates', pagination: false, @@ -1729,6 +1730,11 @@ IPA.cert.search_facet = function(spec) { return command; }; + that.table.setup_column = function(column, div, record) { + var supress_link = record.status === undefined; + column.setup(div, record, supress_link); + }; + // parent method only sets expired flag when filter change, it doesn't // expect that option can change -> set expire flag for every search that.find = function() { -- cgit