Implement tags since adding tags can crash the app on the netbox side
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user