fixes, add weight
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $article['id'] ?? false ]) }}" class="green-dark">
|
||||
<div class="content">
|
||||
<div class="content-overlay"></div>
|
||||
<img class="content-image card-img-top" src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" alt="{{ $product_name }}">
|
||||
<img class="content-image card-img-top"
|
||||
src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" alt="{{ $product_name }}">
|
||||
<div class="content-details fadeIn-bottom">
|
||||
<h3 class="content-title d-none"></h3>
|
||||
<p class="content-text">{!! $article['description'] !!}</p>
|
||||
@@ -19,14 +20,16 @@
|
||||
</div>
|
||||
@include('Shop.Articles.partials.article_' . $product_type)
|
||||
</a>
|
||||
@switch ($article_nature)
|
||||
@switch ($article_nature ?? 0)
|
||||
@case(1)
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100 basket" data-id="{{ $article['semences']['id'] ?? false }}">
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100 basket"
|
||||
data-id="{{ $article['semences']['id'] ?? false }}">
|
||||
Ajout rapide
|
||||
</button>
|
||||
@break
|
||||
@case(2)
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100 basket" data-id="{{ $article['plants']['id'] ?? false }}">
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100 basket"
|
||||
data-id="{{ $article['plants']['id'] ?? false }}">
|
||||
Ajout rapide
|
||||
</button>
|
||||
@break
|
||||
|
||||
Reference in New Issue
Block a user