]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Introduce pipe to convert bool to text 26507/head
authorVolker Theile <vtheile@suse.com>
Fri, 1 Mar 2019 09:27:13 +0000 (10:27 +0100)
committerVolker Theile <vtheile@suse.com>
Fri, 1 Mar 2019 09:27:13 +0000 (10:27 +0100)
commit346cfa3969d752cbcc55ba6f6aec903a8bdf5fb1
tree78aa6be4ef3def0593706dd63ba9fae89eac8a2b
parentb975a35eebf98717f621d9e61e0b7e6ca7cb9bf4
mgr/dashboard: Introduce pipe to convert bool to text

Convert boolean values to 'Yes' or 'No' or any other value.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/boolean-text.pipe.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/boolean-text.pipe.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts
src/pybind/mgr/dashboard/frontend/src/locale/messages.xlf