change icons, css, add routing to merchandise, add mail templater, fixes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
'data' => $article['offers']['semences'],
|
||||
'title' => 'Semence',
|
||||
'model' => 'semences',
|
||||
'bgClass' => 'bg-yellow',
|
||||
'bgClass' => 'bg-green-light',
|
||||
])
|
||||
@endif
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
'data' => $article['offers']['plants'],
|
||||
'title' => 'Plant',
|
||||
'model' => 'plants',
|
||||
'bgClass' => 'bg-green-dark',
|
||||
'bgClass' => 'bg-green-light',
|
||||
])
|
||||
@endif
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
'data' => $article['offers']['legumes'],
|
||||
'title' => 'Légume',
|
||||
'model' => 'legumes',
|
||||
'bgClass' => 'bg-green-light',
|
||||
])
|
||||
@endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $article['semences']['article_id'] ?? false ]) }}" class="{{ ($product_type == 'botanic') ? 'green-dark' : 'green-dark' }}">
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $article['id'] ?? false ]) }}" class="green-dark">
|
||||
<div class="card">
|
||||
<img src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" class="card-img-top" alt="{{ $product_name }}">
|
||||
<div class="card-body p-2 pb-1">
|
||||
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
</div>
|
||||
@include('Shop.Articles.partials.article_' . $product_type)
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100">
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100" data-id=="{{ $article['id'] }}">
|
||||
Ajout rapide
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user