Add icons to machine API output
This commit is contained in:
parent
255d77ec7a
commit
a5662874a5
@ -95,7 +95,16 @@ class Machine implements JsonSerializable {
|
||||
"publicnotes" => $Strings->get("Public Notes", false),
|
||||
"type" => $Strings->get("Type", false)
|
||||
],
|
||||
"icons" => []
|
||||
"icons" => [
|
||||
"model" => "fas fa-hashtag",
|
||||
"condition" => "fas fa-star-half-alt",
|
||||
"price" => "fas fa-money-bill-wave",
|
||||
"os" => "fas fa-hdd",
|
||||
"serial" => "fas fa-barcode",
|
||||
"manufacturer" => "fas fa-industry",
|
||||
"privatenotes" => "fas fa-comment-dots",
|
||||
"publicnotes" => "far fa-comment-dots"
|
||||
]
|
||||
]
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user