From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 44C6D63977 for ; Mon, 5 Oct 2020 16:45:01 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2DD691BC39 for ; Mon, 5 Oct 2020 16:45:01 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id F39C71BC2D for ; Mon, 5 Oct 2020 16:44:58 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C279E4545C for ; Mon, 5 Oct 2020 16:44:58 +0200 (CEST) To: Proxmox Backup Server development discussion , Dominik Csapak References: <20201005134317.12425-1-d.csapak@proxmox.com> <20201005134317.12425-3-d.csapak@proxmox.com> From: Thomas Lamprecht Message-ID: <1cfbeed8-4007-4eb7-3f20-600a1dd978d8@proxmox.com> Date: Mon, 5 Oct 2020 16:44:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Thunderbird/82.0 MIME-Version: 1.0 In-Reply-To: <20201005134317.12425-3-d.csapak@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL -0.152 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.001 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pbs-devel] [PATCH proxmox-backup 3/7] ui: implment task history limit and make it configurable X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2020 14:45:01 -0000 s/implment/implement/ On 05.10.20 15:43, Dominik Csapak wrote: > @@ -234,7 +235,10 @@ Ext.define('PBS.Dashboard', { > }, > }, > =20 > - title: gettext('Dashboard') + ' - WIP', > + bind: { > + title: gettext('Dashboard') + ' (' + > + Ext.String.format(gettext('{0} days'), '{days}') + ')', > + }, would not do that, this suggests all dashboard data is from that days, rather only set the title in the graphs where it actually affects things.= like, for example, ... > =20 > layout: { > type: 'column', > @@ -248,6 +252,13 @@ Ext.define('PBS.Dashboard', { > margin: '0 20 20 0', > }, > =20 > + tools: [ > + { > + type: 'gear', > + handler: 'openDashboardOptions', > + }, > + ], > + > scrollable: true, > =20 > items: [ > diff --git a/www/dashboard/LongestTasks.js b/www/dashboard/LongestTasks= =2Ejs > index f74e768e..20cf1183 100644 > --- a/www/dashboard/LongestTasks.js > +++ b/www/dashboard/LongestTasks.js > @@ -2,7 +2,7 @@ Ext.define('PBS.LongestTasks', { > extend: 'Ext.grid.Panel', > alias: 'widget.pbsLongestTasks', > =20 > - title: gettext('Longest Tasks (last Month)'), > + title: gettext('Longest Tasks'), =2E.. here (see above) > =20 > hideHeaders: true, > rowLines: false, > diff --git a/www/dashboard/TaskSummary.js b/www/dashboard/TaskSummary.j= s > index 5e2a4b13..6f2e1d99 100644 > --- a/www/dashboard/TaskSummary.js > +++ b/www/dashboard/TaskSummary.js > @@ -2,7 +2,7 @@ Ext.define('PBS.TaskSummary', { > extend: 'Ext.panel.Panel', > alias: 'widget.pbsTaskSummary', > =20 > - title: gettext('Task Summary (last Month)'), > + title: gettext('Task Summary'), =2E.. and here (see above) > =20 > controller: { > xclass: 'Ext.app.ViewController', >=20