diff options
author | Julius Haertl <jus@bitgrid.net> | 2016-12-09 12:50:14 +0100 |
---|---|---|
committer | Julius Haertl <jus@bitgrid.net> | 2016-12-12 12:18:38 +0100 |
commit | b12db1b494376dc6ae35c11d127b35f3a156a97e (patch) | |
tree | 6e3962e105d884972ef8420f9c785c4535236cae /apps/files_external/js | |
parent | 60e4299bcbf441a45605ae3a8f7cb74afd00301d (diff) | |
download | nextcloud-server-b12db1b494376dc6ae35c11d127b35f3a156a97e.tar.gz nextcloud-server-b12db1b494376dc6ae35c11d127b35f3a156a97e.zip |
Show theming icons on external storage folders
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r-- | apps/files_external/js/statusmanager.js | 6 |
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 $) { |