mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display and edit build URL field
This commit is contained in:
parent
395db4df38
commit
a3d4c81939
@ -21,6 +21,7 @@ class EditBuildForm(HelperForm):
|
|||||||
'part',
|
'part',
|
||||||
'quantity',
|
'quantity',
|
||||||
'batch',
|
'batch',
|
||||||
|
'URL',
|
||||||
'notes',
|
'notes',
|
||||||
'status',
|
'status',
|
||||||
# 'completion_date',
|
# 'completion_date',
|
||||||
|
@ -38,14 +38,19 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Quantity</td><td>{{ build.quantity }}</td>
|
<td>Quantity</td><td>{{ build.quantity }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Status</td><td>{% include "build_status.html" with build=build %}</td>
|
||||||
|
</tr>
|
||||||
{% if build.batch %}
|
{% if build.batch %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Batch</td><td>{{ build.batch }}</td>
|
<td>Batch</td><td>{{ build.batch }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if build.URL %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Status</td><td>{% include "build_status.html" with build=build %}</td>
|
<td>URL</td><td><a href="{{ build.URL }}">{{ build.URL }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% endif %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Created</td><td>{{ build.creation_date }}</td>
|
<td>Created</td><td>{{ build.creation_date }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user