mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added icons for status column.
The status formatter was modified to show enabled/disabled icon before the status text. The format classes were renamed to formatter to avoid confusion with the format() method. A new parameter 'type' was added to the formatter to determine the output type (e.g. text/html). Ticket #1996
This commit is contained in:
committed by
Petr Voborník
parent
4dfec211f7
commit
ea9d5e6f9a
@@ -40,7 +40,7 @@ IPA.host.entity = function(spec) {
|
||||
{
|
||||
name: 'has_keytab',
|
||||
label: IPA.messages.objects.host.enrolled,
|
||||
format: IPA.boolean_format()
|
||||
formatter: IPA.boolean_formatter()
|
||||
}
|
||||
]
|
||||
}).
|
||||
@@ -467,11 +467,11 @@ IPA.field_factories['host_dnsrecord_entity_link'] = IPA.host_dnsrecord_entity_li
|
||||
IPA.widget_factories['host_dnsrecord_entity_link'] = IPA.link_widget;
|
||||
|
||||
/* Take an LDAP format date in UTC and format it */
|
||||
IPA.utc_date_column_format = function(spec) {
|
||||
IPA.utc_date_column_formatter = function(spec) {
|
||||
|
||||
spec = spec || {};
|
||||
|
||||
var that = IPA.format(spec);
|
||||
var that = IPA.formatter(spec);
|
||||
|
||||
that.format = function(value) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user