summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorJesús Macias <jmacias@solidgear.es>2015-11-20 08:42:31 +0100
committerJesús Macias <jmacias@solidgear.es>2015-11-20 08:42:31 +0100
commit31cfd43e8ad95bec0086409597c35294b7d19df6 (patch)
tree44b25183d1c0041bf0e92041621d2b3852482f58 /apps/files_external
parentae061bcbed3bdaaa8526e0d442b6c77f6909a1ab (diff)
downloadnextcloud-server-31cfd43e8ad95bec0086409597c35294b7d19df6.tar.gz
nextcloud-server-31cfd43e8ad95bec0086409597c35294b7d19df6.zip
Adding logic to show custom icon for current backends, waiting for icon files
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/js/statusmanager.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js
index 5f881532614..5c60c935e9d 100644
--- a/apps/files_external/js/statusmanager.js
+++ b/apps/files_external/js/statusmanager.js
@@ -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;