Add icons to machine API output

master
Skylar Ittner 4 years ago
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…
Cancel
Save