From 3b835d8076c844adde1014e994256740c790857b Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Wed, 20 Jun 2018 19:14:50 +0200 Subject: Js magic for deleted shares MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/css/files.scss | 3 +++ apps/files/img/unshare.svg | 1 + 2 files changed, 4 insertions(+) create mode 100644 apps/files/img/unshare.svg (limited to 'apps/files') diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 01703df5bf1..24ecbf399e3 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -105,6 +105,9 @@ .nav-icon-trashbin { background-image: url('../img/delete.svg?v=1'); } +.nav-icon-deletedshares { + background-image: url('../img/unshare.svg?v=1'); +} #app-navigation .nav-files a.nav-icon-files { width: auto; diff --git a/apps/files/img/unshare.svg b/apps/files/img/unshare.svg new file mode 100644 index 00000000000..0c22ca64057 --- /dev/null +++ b/apps/files/img/unshare.svg @@ -0,0 +1 @@ + -- cgit v1.2.3 From a1a845693ba5cf1622b60962f73d211a0807a390 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 26 Jun 2018 09:30:40 +0200 Subject: Fix tests Signed-off-by: Roeland Jago Douma --- apps/files/tests/Controller/ViewControllerTest.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'apps/files') diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index a739e26bd90..eae627fd6a4 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -206,6 +206,17 @@ class ViewControllerTest extends TestCase { 'type' => 'link', 'classes' => '', ], + [ + 'id' => 'deletedshares', + 'appname' => 'files_sharing', + 'script' => 'list.php', + 'order' => 18, + 'name' => \OC::$server->getL10N('files_sharing')->t('Deleted shares'), + 'active' => false, + 'icon' => '', + 'type' => 'link', + 'classes' => '', + ], [ 'id' => 'systemtagsfilter', 'appname' => 'systemtags', @@ -269,6 +280,10 @@ class ViewControllerTest extends TestCase { 'id' => 'sharinglinks', 'content' => null, ], + [ + 'id' => 'deletedshares', + 'content' => null, + ], [ 'id' => 'systemtagsfilter', 'content' => null, -- cgit v1.2.3