webui: Added device description to overview page (#7328)

This commit is contained in:
Neil Lathwood
2017-09-13 19:46:16 -05:00
committed by Tony Murray
co-authored by Tony Murray
parent 5e5684f2cd
commit 0376f92cc3
+7
View File
@@ -44,6 +44,13 @@ if (!empty($device['ip'])) {
}
}
if ($device['purpose']) {
echo '<tr>
<td>Description</td>
<td>'.display($device['purpose']).'</td>
</tr>';
}
if ($device['hardware']) {
echo '<tr>
<td>Hardware</td>