mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-20 00:59:34 +00:00
added redirection to part page on successful scan of lcsc, digikey, and mouser barcodes. added create part button if part does not exist in database
This commit is contained in:
parent
4325f9e0e6
commit
f3cd32cc91
2 changed files with 110 additions and 6 deletions
|
|
@ -26,7 +26,16 @@
|
|||
|
||||
{% if infoModeData %}
|
||||
<hr>
|
||||
<h4>{% trans %}label_scanner.decoded_info.title{% endtrans %}</h4>
|
||||
<div class="d-flex align-items-center mb-2">
|
||||
<h4 class="mb-0">{% trans %}label_scanner.decoded_info.title{% endtrans %}</h4>
|
||||
|
||||
{% if createUrl %}
|
||||
<a class="btn btn-primary ms-2" href="{{ createUrl }}"
|
||||
target="_blank" title="{% trans %}part.create.btn{% endtrans %}">
|
||||
<i class="fa-solid fa-plus-square"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover table-bordered table-sm">
|
||||
<tbody>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue