]> BookStack Code Mirror - bookstack/blobdiff - resources/views/shelves/list.blade.php
Made shelf listing more unique & efficient
[bookstack] / resources / views / shelves / list.blade.php
index a914eba4972d5393c992e609dd9c0913399bbe6a..84a0ded0ddfd792628c5641cc8f3c0ba4cc3933e 100644 (file)
     @if(count($shelves) > 0)
         @if($view === 'list')
             <div class="entity-list">
-                @foreach($shelves as $shelf)
+                @foreach($shelves as $index => $shelf)
+                    @if ($index !== 0)
+                        <hr class="my-m">
+                    @endif
                     @include('shelves.list-item', ['shelf' => $shelf])
                 @endforeach
             </div>