mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Moved the new copy/merge products buttons in a dropdown menu
This commit is contained in:
parent
2b13102299
commit
3b1f8cba70
@ -1876,7 +1876,7 @@ msgstr ""
|
||||
msgid "This amount is used for the \"quick consume/open buttons\" on the stock overview page (related to quantity unit stock)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Copy this item"
|
||||
msgid "Copy"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to remove this barcode?"
|
||||
@ -2062,3 +2062,6 @@ msgstr ""
|
||||
|
||||
msgid "After merging, all occurences of this product will be replaced by \"Product to keep\" (means this product will not exist anymore)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Merge"
|
||||
msgstr ""
|
||||
|
@ -130,19 +130,6 @@
|
||||
title="{{ $__t('Edit this item') }}">
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm"
|
||||
href="{{ $U('/product/new?copy-of=') }}{{ $product->id }}"
|
||||
data-toggle="tooltip"
|
||||
title="{{ $__t('Copy this item') }}">
|
||||
<i class="fas fa-copy"></i>
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm merge-products-button"
|
||||
href="#"
|
||||
data-product-id="{{ $product->id }}"
|
||||
data-toggle="tooltip"
|
||||
title="{{ $__t('Merge this product with another one') }}">
|
||||
<i class="fas fa-compress-alt"></i>
|
||||
</a>
|
||||
<a class="btn btn-danger btn-sm product-delete-button"
|
||||
href="#"
|
||||
data-product-id="{{ $product->id }}"
|
||||
@ -151,6 +138,26 @@
|
||||
title="{{ $__t('Delete this item') }}">
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
<div class="dropdown d-inline-block">
|
||||
<button class="btn btn-sm btn-light text-secondary"
|
||||
type="button"
|
||||
data-toggle="dropdown">
|
||||
<i class="fas fa-ellipsis-v"></i>
|
||||
</button>
|
||||
<div class="table-inline-menu dropdown-menu dropdown-menu-right">
|
||||
<a class="dropdown-item"
|
||||
type="button"
|
||||
href="{{ $U('/product/new?copy-of=') }}{{ $product->id }}">
|
||||
<span class="dropdown-item-text">{{ $__t('Copy') }}</span>
|
||||
</a>
|
||||
<a class="dropdown-item merge-products-button"
|
||||
data-product-id="{{ $product->id }}"
|
||||
type="button"
|
||||
href="#">
|
||||
<span class="dropdown-item-text">{{ $__t('Merge') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{{ $product->name }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user