public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>,
	Wolfgang Bumiller <w.bumiller@proxmox.com>
Subject: [pbs-devel] applied: [PATCH backup 2/3] gui: tfa: show when entries were created
Date: Mon, 18 Jan 2021 15:03:46 +0100	[thread overview]
Message-ID: <1be95512-4a68-d7b3-4975-83f98d778547@proxmox.com> (raw)
In-Reply-To: <20210118125002.24868-2-w.bumiller@proxmox.com>

On 18.01.21 13:50, Wolfgang Bumiller wrote:
> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
> ---
>  www/config/TfaView.js | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 

applied, thanks!

> diff --git a/www/config/TfaView.js b/www/config/TfaView.js
> index 883c9508..092153d8 100644
> --- a/www/config/TfaView.js
> +++ b/www/config/TfaView.js
> @@ -10,7 +10,7 @@ Ext.define('pbs-tfa-users', {
>  
>  Ext.define('pbs-tfa-entry', {
>      extend: 'Ext.data.Model',
> -    fields: ['fullid', 'type', 'description', 'enable'],
> +    fields: ['fullid', 'type', 'description', 'created', 'enable'],
>      idProperty: 'fullid',
>  });
>  
> @@ -63,6 +63,7 @@ Ext.define('PBS.config.TfaView', {
>  			fullid: `${user.id}/${entry.id}`,
>  			type: entry.type,
>  			description: entry.description,
> +			created: entry.created,
>  			enable: entry.enable,
>  		    });
>  		});
> @@ -205,6 +206,13 @@ Ext.define('PBS.config.TfaView', {
>  	    sortable: true,
>  	    dataIndex: 'type',
>  	},
> +	{
> +	    header: gettext('Created'),
> +	    width: 80,

changed to 150 to make the timestamp actually fully visible by default





  reply	other threads:[~2021-01-18 14:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 12:50 [pbs-devel] [PATCH backup 1/3] tfa: add 'created' timestamp to entries Wolfgang Bumiller
2021-01-18 12:50 ` [pbs-devel] [PATCH backup 2/3] gui: tfa: show when entries were created Wolfgang Bumiller
2021-01-18 14:03   ` Thomas Lamprecht [this message]
2021-01-18 12:50 ` [pbs-devel] [PATCH backup 3/3] gui: tfa: make description fill the remaining space Wolfgang Bumiller
2021-01-18 14:03   ` [pbs-devel] applied: " Thomas Lamprecht
2021-01-18 14:02 ` [pbs-devel] applied: [PATCH backup 1/3] tfa: add 'created' timestamp to entries Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1be95512-4a68-d7b3-4975-83f98d778547@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    --cc=w.bumiller@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal