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:
@@ -25,23 +25,23 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<strong>Items:</strong>
|
||||
<strong>{{ __('product.items') }}</strong>
|
||||
<ul>
|
||||
@forelse ($product->items as $item)
|
||||
<li><a href="/item/{{ $item->id }}">{{ $item->name }}</a></li>
|
||||
@empty
|
||||
<p>There are no items yet. Include one with the form above.</p>
|
||||
<p>{{ __('product.noItemsYet') }}</p>
|
||||
@endforelse
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">Add item</div>
|
||||
<div class="card-header">{{ __('product.addItem') }}</div>
|
||||
<div class="card-body">@include('product.addItemForm')</div>
|
||||
</div>
|
||||
|
||||
<div class="float-right mt-2"><a class="btn btn-secondary" href="/product">BACK</a></div>
|
||||
<div class="float-right mt-2"><a class="btn btn-secondary" href="/product">{{ __('product.back') }}</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user