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
1 changed files with 24 additions and 0 deletions

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;