Fix build index template

This commit is contained in:
Oliver Walters 2022-05-07 22:47:48 +10:00
parent 06e79ee91b
commit e57a3870c6
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class BuildIndex(InvenTreeRoleMixin, ListView):
def get_context_data(self, **kwargs):
context = super(self).get_context_data(**kwargs).copy()
context = super().get_context_data(**kwargs)
context['BuildStatus'] = BuildStatus

View File

@ -64,7 +64,7 @@ class CustomPanelSample(PanelMixin, SettingsMixin, IntegrationPluginBase):
'icon': 'fas fa-boxes',
'content': '<b>Hello world!</b>',
'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