]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Use booleanText pipe
authorAlfonso Martínez <almartin@redhat.com>
Wed, 12 Feb 2020 09:35:43 +0000 (10:35 +0100)
committerAlfonso Martínez <almartin@redhat.com>
Thu, 5 Mar 2020 12:59:16 +0000 (13:59 +0100)
Signed-off-by: Volker Theile <vtheile@suse.com>
    (cherry picked from commit 46c7bdfaab9c082a46e03061f355196fc42fbf3c)

    Conflicts:
      src/pybind/mgr/dashboard/frontend/src/locale/messages.en-US.xlf

    - Excluded messages.en-US.xlf from backport.

src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html

index 4a90eb45a2587970f82803a3e46d0e960c5e097e..304ce2327e9f7ccbcf9f6fb91d5becdf81bdc80f 100644 (file)
@@ -27,8 +27,7 @@
           <tr>
             <td i18n
                 class="bold col-sm-1">System</td>
-            <td class="col-sm-3"
-                i18n>{user.system, select, 1 {Yes} 0 {No}}</td>
+            <td class="col-sm-3">{{ user.system | booleanText }}</td>
           </tr>
           <tr>
             <td i18n