Change icon only on WND and Sharepoint external storages
This commit is contained in:
parent
5aa5d3a9ae
commit
3ae928c661
|
@ -449,36 +449,12 @@ OCA.External.StatusManager.Utils = {
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (backend) {
|
switch (backend) {
|
||||||
case 'wnd':
|
case 'windows_network_drive':
|
||||||
icon = OC.imagePath('windows_network_drive', 'folder-windows');
|
icon = OC.imagePath('windows_network_drive', 'folder-windows');
|
||||||
break;
|
break;
|
||||||
case 'sharepoint':
|
case 'sharepoint':
|
||||||
icon = OC.imagePath('sharepoint', 'folder-sharepoint');
|
icon = OC.imagePath('sharepoint', 'folder-sharepoint');
|
||||||
break;
|
break;
|
||||||
case 'amazons3':
|
|
||||||
icon = OC.imagePath('core', 'filetypes/folder-external');
|
|
||||||
break;
|
|
||||||
case 'dav':
|
|
||||||
icon = OC.imagePath('core', 'filetypes/folder-external');
|
|
||||||
break;
|
|
||||||
case 'dropbox':
|
|
||||||
icon = OC.imagePath('core', 'filetypes/folder-external');
|
|
||||||
break;
|
|
||||||
case 'ftp':
|
|
||||||
icon = OC.imagePath('core', 'filetypes/folder-external');
|
|
||||||
break;
|
|
||||||
case 'google':
|
|
||||||
icon = OC.imagePath('core', 'filetypes/folder-external');
|
|
||||||
break;
|
|
||||||
case 'owncloud':
|
|
||||||
icon = OC.imagePath('core', 'filetypes/folder-external');
|
|
||||||
break;
|
|
||||||
case 'sftp':
|
|
||||||
icon = OC.imagePath('core', 'filetypes/folder-external');
|
|
||||||
break;
|
|
||||||
case 'swift':
|
|
||||||
icon = OC.imagePath('core', 'filetypes/folder-external');
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return icon;
|
return icon;
|
||||||
|
|
Loading…
Reference in New Issue