mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-04 14:28:48 +00:00
Fixes
This commit is contained in:
parent
9b763ca715
commit
59341397ba
@ -62,6 +62,14 @@ class StatusCode:
|
|||||||
def items(cls):
|
def items(cls):
|
||||||
return cls.options.items()
|
return cls.options.items()
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def keys(cls):
|
||||||
|
return cls.options.keys()
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def labels(cls):
|
||||||
|
return cls.options.values()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def label(cls, value):
|
def label(cls, value):
|
||||||
""" Return the status code label associated with the provided value """
|
""" Return the status code label associated with the provided value """
|
||||||
|
@ -244,6 +244,7 @@ class CompleteBuildOutputForm(HelperForm):
|
|||||||
|
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class CancelBuildForm(HelperForm):
|
class CancelBuildForm(HelperForm):
|
||||||
""" Form for cancelling a build """
|
""" Form for cancelling a build """
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
{% if build.active %}
|
{% if build.active %}
|
||||||
|
|
||||||
<li class='list-group-item {% if tab == "allocate" %}active{% endif %}' title='{% trans "In Progress" %}'>
|
<li class='list-group-item {% if tab == "allocate" %}active{% endif %}' title='{% trans "Allocate Stock" %}'>
|
||||||
<a href='{% url "build-allocate" build.id %}'>
|
<a href='{% url "build-allocate" build.id %}'>
|
||||||
<span class='fas fa-tools'></span>
|
<span class='fas fa-tools'></span>
|
||||||
{% trans "Allocate Stock" %}
|
{% trans "Allocate Stock" %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user