mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-31 00:04:40 +02:00
Allow to specify a preview attachment in the AdminPages.
This commit is contained in:
parent
280b2d4427
commit
d9fe77d0e8
5 changed files with 120 additions and 26 deletions
|
@ -67,6 +67,10 @@
|
|||
{% trans %}attachment.create{% endtrans %}
|
||||
</button>
|
||||
|
||||
{% block master_picture_block %}
|
||||
{{ form_row(form.master_picture_attachment) }}
|
||||
{% endblock %}
|
||||
|
||||
<script>
|
||||
function delete_attachment_entry(btn) {
|
||||
window.bootbox.confirm('{% trans %}part_lot.edit.delete.confirm{% endtrans %}', function (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue