1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Reviewed #1688, Show parent shelves on books page

- Moved list to the left of the page to align with other navigational
items.
- Hid list of no shelves, to help hide shelf references if not in use.
- Tweaked test to ensure it wasn't finding shelf name in breadcrumb
rather than list being tested.
This commit is contained in:
Dan Brown
2020-04-09 17:29:22 +01:00
parent 898cedf536
commit 47e645909e
5 changed files with 9 additions and 13 deletions

View File

@ -284,7 +284,7 @@ class BookShelfTest extends TestCase
$newBook = Book::query()->orderBy('id', 'desc')->first();
$resp = $this->asEditor()->get($newBook->getUrl());
$resp->assertSee($shelfInfo['name']);
$resp->assertElementContains('.tri-layout-left-contents', $shelfInfo['name']);
// Remove shelf
$this->delete($shelf->getUrl());