mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix build index template
This commit is contained in:
parent
06e79ee91b
commit
e57a3870c6
@ -31,7 +31,7 @@ class BuildIndex(InvenTreeRoleMixin, ListView):
|
|||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
|
|
||||||
context = super(self).get_context_data(**kwargs).copy()
|
context = super().get_context_data(**kwargs)
|
||||||
|
|
||||||
context['BuildStatus'] = BuildStatus
|
context['BuildStatus'] = BuildStatus
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class CustomPanelSample(PanelMixin, SettingsMixin, IntegrationPluginBase):
|
|||||||
'icon': 'fas fa-boxes',
|
'icon': 'fas fa-boxes',
|
||||||
'content': '<b>Hello world!</b>',
|
'content': '<b>Hello world!</b>',
|
||||||
'description': 'A simple panel which renders hello world',
|
'description': 'A simple panel which renders hello world',
|
||||||
'javascript': 'alert("Hello world");',
|
'javascript': 'console.log("Hello world, from a custom panel!");',
|
||||||
})
|
})
|
||||||
|
|
||||||
# This panel will *only* display on the PartDetail view
|
# This panel will *only* display on the PartDetail view
|
||||||
|
Loading…
Reference in New Issue
Block a user