summaryrefslogtreecommitdiffstats
path: root/install/ui/src
diff options
context:
space:
mode:
authorPavel Vomacka <pvomacka@redhat.com>2016-06-14 19:30:06 +0200
committerPetr Vobornik <pvoborni@redhat.com>2016-06-29 15:41:58 +0200
commit2f048224d2509cddf07532f9703aa88f4eebc9b8 (patch)
treea6be71ef59764a6599a0f09498765b8162238eab /install/ui/src
parent82e69e430009d8b47e45dadd6895af1d71ecd1dd (diff)
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>
Diffstat (limited to 'install/ui/src')
-rwxr-xr-xinstall/ui/src/freeipa/certificate.js6
1 files changed, 6 insertions, 0 deletions
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() {