From: Björn Schießle Date: Thu, 7 Mar 2013 12:48:02 +0000 (+0100) Subject: let the home icon link to the files view in the trash bin X-Git-Tag: v5.0.0RC3~7^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=718830365134cb3f4a68fba03274801cada71fdb;p=nextcloud-server.git let the home icon link to the files view in the trash bin --- diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php index 779db9bc31c..2e4c4953a16 100644 --- a/apps/files_trashbin/index.php +++ b/apps/files_trashbin/index.php @@ -95,9 +95,10 @@ foreach (explode('/', $dir) as $i) { } } -$breadcrumbNav = new OCP\Template('files', 'part.breadcrumb', ''); +$breadcrumbNav = new OCP\Template('files_trashbin', 'part.breadcrumb', ''); $breadcrumbNav->assign('breadcrumb', $breadcrumb); $breadcrumbNav->assign('baseURL', OCP\Util::linkTo('files_trashbin', 'index.php') . '?dir='); +$breadcrumbNav->assign('home', OCP\Util::linkTo('files', 'index.php') . '?dir='); $list = new OCP\Template('files_trashbin', 'part.list', ''); $list->assign('files', $files); diff --git a/apps/files_trashbin/templates/part.breadcrumb.php b/apps/files_trashbin/templates/part.breadcrumb.php new file mode 100644 index 00000000000..2801e04e9ad --- /dev/null +++ b/apps/files_trashbin/templates/part.breadcrumb.php @@ -0,0 +1,20 @@ +
+ + + +
+ +
'> + t("Deleted Files")); ?> +
+ + +
svg" + data-dir=''> + +
+