Implement tags since adding tags can crash the app on the netbox side

This commit is contained in:
2022-12-10 20:08:00 -08:00
parent f4be250595
commit 6b51a91685
2 changed files with 17 additions and 1 deletions

View File

@@ -13,12 +13,18 @@
<tr>
<th>Community Tag</th>
<th>Description</th>
<th>Community Type</th>
</tr>
</thead>
@foreach (var item in Model) {
<tr>
<td>@item.Name</td>
<td>@item.Description</td>
<td>
@foreach (var tags in item.Tags) {
<div class="d-inline-flex p-2 text-white" style="background-color:#@tags.color">@tags.display</div>
}
</td>
</tr>
}
</table>