feat(spoolman): Add Comment to Spools (#1511)
Co-authored-by: Glought <663343+Glought@users.noreply.github.com>
This commit is contained in:
1 parent
a92be75c48
commit
f187d73838
1 file changed
+2
@@ -336,6 +336,8 @@ class Panel(ScreenPanel):
|
||||
result = f'<big><b>{spool.name}</b></big>\n'
|
||||
else:
|
||||
result = f'<big>{spool.name}</big>\n'
|
||||
if hasattr(spool, "comment"):
|
||||
result += f'{_("Comment")}:<b> {spool.comment}</b>\n'
|
||||
if spool.last_used:
|
||||
result += f'{_("Last used")}:<b> {spool.last_used.astimezone():{self.timeFormat}}</b>\n'
|
||||
if hasattr(spool, "remaining_weight"):
|
||||
|
||||
Reference in new issue
Block a user