mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-25 03:10:24 +03:00
Split out each sidebar block into their own template for easier customization of those elements, and less code to manage when overriding the parent show/index views.
15 lines
526 B
PHP
15 lines
526 B
PHP
@extends('layouts.tri')
|
|
|
|
@section('body')
|
|
@include('shelves.parts.list', ['shelves' => $shelves, 'view' => $view, 'listOptions' => $listOptions])
|
|
@stop
|
|
|
|
@section('right')
|
|
@include('shelves.parts.index-sidebar-section-actions', ['view' => $view])
|
|
@stop
|
|
|
|
@section('left')
|
|
@include('shelves.parts.index-sidebar-section-recents', ['recents' => $recents])
|
|
@include('shelves.parts.index-sidebar-section-popular', ['popular' => $popular])
|
|
@include('shelves.parts.index-sidebar-section-new', ['new' => $new])
|
|
@stop |