mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 16:00:54 -03:00
Adding translation of product page
The news/product/*.blade.php files are translated into PTB.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card mt-4">
|
||||
<div class="card-header"><strong>Products</strong></div>
|
||||
<div class="card-header"><strong>{{ __('product.products') }}</strong></div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (session('status'))
|
||||
@@ -18,17 +18,17 @@
|
||||
@forelse ($products as $product)
|
||||
<li><a href="/product/{{$product['id']}}">{{$product['name']}}</a></li>
|
||||
@empty
|
||||
<p>There are no products yet. Include one with the form above.</p>
|
||||
<p>{{ __('product.noProductsYet') }}</p>
|
||||
@endforelse
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">Add product</div>
|
||||
<div class="card-header">{{ __('product.addProduct') }}</div>
|
||||
<div class="card-body">@include('product.addProductForm')</div>
|
||||
</div>
|
||||
<div class="float-right mt-2"><a class="btn btn-secondary" href="/home">Your items</a></div>
|
||||
<div class="float-right mt-2"><a class="btn btn-secondary" href="/home">{{ __('product.yourItems') }}</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user