summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-12-12 16:04:48 +0100
committerGitHub <noreply@github.com>2016-12-12 16:04:48 +0100
commit6cd421e6034c0d9b43696630958e79fb94c1cbaf (patch)
tree8e9f70ad53a7f051b5fd076264d0413398ed8122
parentf46e02210e29a046aab8c3911d8a168857914375 (diff)
parentb12db1b494376dc6ae35c11d127b35f3a156a97e (diff)
downloadnextcloud-server-6cd421e6034c0d9b43696630958e79fb94c1cbaf.tar.gz
nextcloud-server-6cd421e6034c0d9b43696630958e79fb94c1cbaf.zip
Merge pull request #2620 from nextcloud/theming-externalfiles
Show theming icons on external storage folders
-rw-r--r--apps/files_external/js/statusmanager.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js
index 4869e663a0a..782b0b08288 100644
--- a/apps/files_external/js/statusmanager.js
+++ b/apps/files_external/js/statusmanager.js
@@ -539,7 +539,11 @@ OCA.External.StatusManager.Utils = {
* of the tr matching the folder name
*/
getIconRoute: function (tr) {
- var icon = OC.imagePath('core', 'filetypes/folder-external');
+ if (OCA.Theming) {
+ var icon = OC.generateUrl('/apps/theming/img/core/filetypes/folder-external.svg?v=' + OCA.Theming.cacheBuster);
+ } else {
+ var icon = OC.imagePath('core', 'filetypes/folder-external');
+ }
var backend = null;
if (tr instanceof $) {