]> BookStack Code Mirror - bookstack/blobdiff - resources/views/shelves/index.blade.php
Organised entity action buttons a little more
[bookstack] / resources / views / shelves / index.blade.php
index eeb579de6c913fe5e5e631d47c1baf4177987bee..76f26c694f73ab6057541195d5fb5be92f9878f0 100644 (file)
@@ -9,13 +9,13 @@
     <div class="actions mb-xl">
         <h5>{{ trans('common.actions') }}</h5>
         <div class="icon-list text-primary">
-            @include('partials.view-toggle', ['view' => $view, 'type' => 'shelf'])
             @if($currentUser->can('bookshelf-create-all'))
                 <a href="{{ baseUrl("/create-shelf") }}" class="icon-list-item">
                     <span>@icon('add')</span>
                     <span>{{ trans('entities.shelves_create') }}</span>
                 </a>
             @endif
+            @include('partials.view-toggle', ['view' => $view, 'type' => 'shelf'])
         </div>
     </div>