From 718830365134cb3f4a68fba03274801cada71fdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Thu, 7 Mar 2013 13:48:02 +0100 Subject: [PATCH] let the home icon link to the files view in the trash bin --- apps/files_trashbin/index.php | 3 ++- .../templates/part.breadcrumb.php | 20 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 apps/files_trashbin/templates/part.breadcrumb.php 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=''> + +
+