serie looks good to me

On 06/19/2017 04:25 PM, Dominik Csapak wrote:
> to see the full date, and save space from the other columns
> 
> Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
> ---
>  www/manager6/grid/Replication.js | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/www/manager6/grid/Replication.js 
> b/www/manager6/grid/Replication.js
> index edde6dcf..46d6fa09 100644
> --- a/www/manager6/grid/Replication.js
> +++ b/www/manager6/grid/Replication.js
> @@ -284,7 +284,7 @@ Ext.define('PVE.grid.ReplicaView', {
>           {
>               text: gettext('Job'),
>               dataIndex: 'jobnum',
> -             width: 65
> +             width: 60
>           },
>           {
>               text: gettext('Target'),
> @@ -361,6 +361,7 @@ Ext.define('PVE.grid.ReplicaView', {
>               {
>                   text: gettext('Last Sync'),
>                   dataIndex: 'last_sync',
> +                 width: 150,
>                   renderer: function(value, metadata, record) {
>                       if (!value) {
>                           return '-';
> @@ -376,11 +377,13 @@ Ext.define('PVE.grid.ReplicaView', {
>               {
>                   text: gettext('Duration'),
>                   dataIndex: 'duration',
> +                 width: 60,
>                   renderer: PVE.Utils.render_duration
>               },
>               {
>                   text: gettext('Next Sync'),
>                   dataIndex: 'next_sync',
> +                 width: 150,
>                   renderer: function(value) {
>                       if (!value) {
>                           return '-';
> @@ -402,6 +405,7 @@ Ext.define('PVE.grid.ReplicaView', {
>       me.columns.push(
>           {
>               text: gettext('Schedule'),
> +             width: 75,
>               dataIndex: 'schedule'
>           },
>           {
> 

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to