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 <pvoborni@redhat.com>
This commit is contained in:
Pavel Vomacka authored and Petr Vobornik committed 2016-06-29 15:41:58 +02:00
1 parent 82e69e4300
commit 2f048224d2
1 file changed
+6
+6
View File
@@ -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() {