[pbs-devel] applied: [PATCH backup 2/3] gui: tfa: show when entries were created

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jan 18 15:03:46 CET 2021


On 18.01.21 13:50, Wolfgang Bumiller wrote:
> Signed-off-by: Wolfgang Bumiller <w.bumiller at 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






More information about the pbs-devel mailing list