Adding logic to show custom icon for current backends, waiting for icon files

This commit is contained in:
Jesús Macias 2015-11-20 08:42:31 +01:00
parent ae061bcbed
commit 31cfd43e8a

View file

@ -485,6 +485,30 @@ OCA.External.StatusManager.Utils = {
case 'sharepoint':
icon = OC.imagePath('sharepoint', 'folder-sharepoint');
break;
case 'amazons3':
icon = OC.imagePath('core', 'filesystem/folder-external');
break;
case 'dav':
icon = OC.imagePath('core', 'filesystem/folder-external');
break;
case 'dropbox':
icon = OC.imagePath('core', 'filesystem/folder-external');
break;
case 'ftp':
icon = OC.imagePath('core', 'filesystem/folder-external');
break;
case 'google':
icon = OC.imagePath('core', 'filesystem/folder-external');
break;
case 'owncloud':
icon = OC.imagePath('core', 'filesystem/folder-external');
break;
case 'sftp':
icon = OC.imagePath('core', 'filesystem/folder-external');
break;
case 'swift':
icon = OC.imagePath('core', 'filesystem/folder-external');
break;
}
return icon;