Re: [pve-devel] [RFC manager] Display subdirs when listing storage content

2020-02-13 Thread Dominic Jäger
On Thu, Feb 13, 2020 at 09:12:24AM +0100, Thomas Lamprecht wrote: > On 12/2/19 12:45 PM, Dominic Jäger wrote: > > - return data.volid.replace(/^.*:(.*\/)?/,''); > > + return data.volid.replace(/^.*:[^\/]*\//,''); > > what if a volid does not contain any slash? Previously we could cope with >

Re: [pve-devel] [RFC manager] Display subdirs when listing storage content

2020-02-13 Thread Thomas Lamprecht
On 12/2/19 12:45 PM, Dominic Jäger wrote: > iso and vztmpl files can be in subdirectories of a storage's directory. > In this case we must make clear where they are exactly. > > Signed-off-by: Dominic Jäger > --- > Useless without the patch for pve-storage. > > www/manager6/Utils.js | 2 +- > 1 f

[pve-devel] [RFC manager] Display subdirs when listing storage content

2019-12-02 Thread Dominic Jäger
iso and vztmpl files can be in subdirectories of a storage's directory. In this case we must make clear where they are exactly. Signed-off-by: Dominic Jäger --- Useless without the patch for pve-storage. www/manager6/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/w