]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: realm: clarify that the sync jobs really are for the realm
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Jun 2023 15:33:38 +0000 (17:33 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Jun 2023 15:36:36 +0000 (17:36 +0200)
it's somewhat redundant as onbe is already at the realm view, but for
panel titles it slightly helps if one doesn't have to string together
such "clues" oneself, i.e., it's easier to see where one is - e.g.,
if switching from some other task back to the web UI again, and we
have enough space here, so we ain't winning anything if keeping it
short.

Also add an emptyText to the grid, mostly as view's without anything
always look a bit off (like an error happened on load and one forgot
to mask)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/Config.js
www/manager6/dc/RealmSyncJob.js

index 1223ec92e70561c49feabd4c156d04b44bb2ea41..f9f937a5550df9b65fc260a85e857f29011f12a0 100644 (file)
@@ -150,7 +150,7 @@ Ext.define('PVE.dc.Config', {
                    },
                    {
                        xtype: 'pveRealmSyncJobView',
-                       title: gettext('Sync Jobs'),
+                       title: gettext('Realm Sync Jobs'),
                        region: 'south',
                        collapsible: true,
                        animCollapse: false,
index bb2e8d2f6b9af10a7ba05520a6f4706d0bdf318e..d4e311946e6f3356409c55c89962cc44f538899f 100644 (file)
@@ -5,6 +5,8 @@ Ext.define('PVE.dc.RealmSyncJobView', {
     stateful: true,
     stateId: 'grid-realmsyncjobs',
 
+    emptyText: Ext.String.format(gettext('No {0} configured'), gettext('Realm Sync Job')),
+
     controller: {
        xclass: 'Ext.app.ViewController',