From 3831b8b1be693a3d4babb378378f1baa676b1cc3 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 13 Dec 2013 12:17:10 +0100 Subject: [PATCH 1/2] always show 'Deleted Files' breadcrumb --- apps/files_trashbin/templates/part.breadcrumb.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/files_trashbin/templates/part.breadcrumb.php b/apps/files_trashbin/templates/part.breadcrumb.php index 4acc298adb..fdf78c190d 100644 --- a/apps/files_trashbin/templates/part.breadcrumb.php +++ b/apps/files_trashbin/templates/part.breadcrumb.php @@ -3,11 +3,11 @@ - -
+ +
+ Date: Fri, 13 Dec 2013 14:34:26 +0100 Subject: [PATCH 2/2] always show home breadcrumb in files view --- apps/files/templates/part.breadcrumb.php | 12 +++++------- core/js/js.js | 8 ++++---- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/apps/files/templates/part.breadcrumb.php b/apps/files/templates/part.breadcrumb.php index 9db27eb9b2..90d07d4336 100644 --- a/apps/files/templates/part.breadcrumb.php +++ b/apps/files/templates/part.breadcrumb.php @@ -1,10 +1,8 @@ - -
- - - -
- +
" data-dir=''> + + + +
diff --git a/core/js/js.js b/core/js/js.js index d9b3b54e0a..66faa48f85 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -471,11 +471,11 @@ OC.Breadcrumb={ }, _show:function(container, dir, leafname, leaflink){ var self = this; - + this._clear(container); - + // show home + path in subdirectories - if (dir && dir !== '/') { + if (dir) { //add home var link = OC.linkTo('files','index.php'); @@ -502,7 +502,7 @@ OC.Breadcrumb={ } }); } - + //add leafname if (leafname && leaflink) { this._push(container, leafname, leaflink);