Add more state info to JobsPage
This commit is contained in:
parent
2b32999f6e
commit
73da46f22a
1 changed files with 3 additions and 1 deletions
|
@ -69,7 +69,9 @@ Page {
|
|||
Label {
|
||||
font.pixelSize: Theme.fontSizeTiny
|
||||
color: Theme.secondaryColor
|
||||
text: Utils.ippName("job-state", printer.jobs[index]["job-state"].value)
|
||||
property var msg: printer.jobs[index]["job-printer-state-message"] && printer.jobs[index]["job-printer-state-message"].value != ""
|
||||
? " ("+printer.jobs[index]["job-printer-state-message"].value+")" : ""
|
||||
text: Utils.ippName("job-state", printer.jobs[index]["job-state"].value)+msg
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue