mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-31 08:14:41 +02:00
Allow to define manufacturing status for a part.
This commit is contained in:
parent
b14edfc3bd
commit
d22f9da1f0
5 changed files with 84 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
{{ form_row(form.manufacturer) }}
|
||||
{{ form_row(form.manufacturer_product_number) }}
|
||||
{{ form_row(form.manufacturer_product_url)}}
|
||||
{{ form_row(form.manufacturer_product_url)}}
|
||||
{{ form_row(form.manufacturing_status) }}
|
|
@ -45,6 +45,13 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# Manufacturing status tag #}
|
||||
<div class="mt-1">
|
||||
<h6>
|
||||
{{ helper.m_status_to_badge(part.manufacturingStatus) }}
|
||||
</h6>
|
||||
</div>
|
||||
|
||||
{# Show tags #}
|
||||
{% if part.tags is not empty %}
|
||||
<div class="mt-1">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue