mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-02 06:43:10 +08:00
Updated view-change endpoints to be clearer, separated books and shelf
- Separated books-list and shelf-show view types to be saved separately. During review of #1755
This commit is contained in:
@ -43,7 +43,7 @@
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'book'])
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'books'])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div class="actions mb-xl">
|
||||
<h5>{{ trans('common.actions') }}</h5>
|
||||
<div class="icon-list text-primary">
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'book'])
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'books'])
|
||||
@include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div class="actions mb-xl">
|
||||
<h5>{{ trans('common.actions') }}</h5>
|
||||
<div class="icon-list text-primary">
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'shelf'])
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'shelves'])
|
||||
@include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
|
||||
</div>
|
||||
</div>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<span>{{ trans('entities.shelves_new_action') }}</span>
|
||||
</a>
|
||||
@endif
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'shelf'])
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'shelves'])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -95,7 +95,7 @@
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'book'])
|
||||
@include('partials.view-toggle', ['view' => $view, 'type' => 'shelf'])
|
||||
|
||||
<hr class="primary-background">
|
||||
|
||||
|
Reference in New Issue
Block a user