mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-31 08:14:41 +02:00
Added a duplicate button in data structures (categories, footprints, etc.) Admin pages.
This commit is contained in:
parent
315cc30a1a
commit
e654c46e11
16 changed files with 92 additions and 65 deletions
5
templates/AdminPages/_duplicate.html.twig
Normal file
5
templates/AdminPages/_duplicate.html.twig
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div class="row mb-2">
|
||||
<div class="offset-3 col">
|
||||
<a class="btn btn-info {% if not is_granted('create', entity) %}disabled{% endif %}" href="{{ entity | entityURL('clone') }}">{% trans %}entity.duplicate{% endtrans %}</a>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue