Change icon only on WND and Sharepoint external storages

This commit is contained in:
Jesús Macias 2016-01-15 13:06:12 +01:00
parent 5aa5d3a9ae
commit 3ae928c661
1 changed files with 1 additions and 25 deletions

View File

@ -449,36 +449,12 @@ OCA.External.StatusManager.Utils = {
}
switch (backend) {
case 'wnd':
case 'windows_network_drive':
icon = OC.imagePath('windows_network_drive', 'folder-windows');
break;
case 'sharepoint':
icon = OC.imagePath('sharepoint', 'folder-sharepoint');
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;