Skip to content

Commit

Permalink
Show info image if there is no content
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Jan 10, 2024
1 parent 0cff6af commit c2c4c30
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/views/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@
</a>
@endforeach
</div>
@else
<div class="plants-empty">
<div class="plants-empty-image">
<img src="{{ asset('img/plantsempty.png') }}" alt="image"/>
</div>
<div class="plants-empty-text">{{ __('app.content_empty') }}</div>
</div>
@endif
</div>

Expand Down

0 comments on commit c2c4c30

Please sign in to comment.