mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Bump CI/pre-commit versions (#6522)
* bump CI versions and run new autofixes * fix reqs
This commit is contained in:
@ -421,7 +421,7 @@ def progress_bar(val, max_val, *args, **kwargs):
|
||||
style_tags.append(f'max-width: {max_width};')
|
||||
|
||||
html = f"""
|
||||
<div id='{item_id}' class='progress' style='{" ".join(style_tags)}'>
|
||||
<div id='{item_id}' class='progress' style='{' '.join(style_tags)}'>
|
||||
<div class='progress-bar {style}' role='progressbar' aria-valuemin='0' aria-valuemax='100' style='width:{percent}%'></div>
|
||||
<div class='progress-value'>{val} / {max_val}</div>
|
||||
</div>
|
||||
|
@ -1482,7 +1482,7 @@ class OrderCalendarExport(ICalFeed):
|
||||
|
||||
def item_guid(self, item):
|
||||
"""Return globally unique UID for event."""
|
||||
return f'po_{item.pk}_{item.reference.replace(" ","-")}@{self.instance_url}'
|
||||
return f'po_{item.pk}_{item.reference.replace(" ", "-")}@{self.instance_url}'
|
||||
|
||||
def item_link(self, item):
|
||||
"""Set the item link."""
|
||||
|
@ -261,7 +261,7 @@ class InvenTreeLabelSheetPlugin(LabelPrintingMixin, SettingsMixin, InvenTreePlug
|
||||
}}
|
||||
|
||||
.label-sheet-cell {{
|
||||
border: {"1px solid #000;" if border else "0mm;"}
|
||||
border: {'1px solid #000;' if border else '0mm;'}
|
||||
width: {label_width}mm;
|
||||
height: {label_height}mm;
|
||||
padding: 0mm;
|
||||
|
Reference in New Issue
Block a user