]> git.proxmox.com Git - pve-manager.git/commitdiff
Better Status description for jobs which are about to be run
authorEmmanuel Kasper <e.kasper@proxmox.com>
Tue, 20 Jun 2017 14:42:54 +0000 (16:42 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 22 Jun 2017 07:52:48 +0000 (09:52 +0200)
PVE/CLI/pvesr.pm
www/manager6/grid/Replication.js

index 61db455e2e6c9367036a28cf6e12a1e7ab2263d4..f5d4db5b6138523e9a4b7a67b0f0f5b3a888d01b 100644 (file)
@@ -360,7 +360,7 @@ my $print_job_status = sub {
            if ($next > $now) {
                $nextstr = strftime("%Y-%m-%d_%H:%M:%S", localtime($job->{next_sync}));
            } else {
-               $nextstr = 'now';
+               $nextstr = 'pending';
            }
        }
 
index 942c72634dcc652bd5ff2924789a2b55ba8571a5..ce8e1c05f4d59375d07f406d10baa7f8b586404c 100644 (file)
@@ -390,7 +390,7 @@ Ext.define('PVE.grid.ReplicaView', {
                        var next = new Date(value*1000);
 
                        if (next < now) {
-                           return gettext('now');
+                           return gettext('pending');
                        }
 
                        return PVE.Utils.render_timestamp(value);