mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 08:46:10 -06:00
Show dependent custom fields on choice set view
This commit is contained in:
parent
1f5b583425
commit
feedf51659
@ -17,13 +17,23 @@
|
|||||||
<th scope="row">Description</th>
|
<th scope="row">Description</th>
|
||||||
<td>{{ object.description|markdown|placeholder }}</td>
|
<td>{{ object.description|markdown|placeholder }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">Choices</th>
|
||||||
|
<td>{{ object.choices|length }}</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Order Alphabetically</th>
|
<th scope="row">Order Alphabetically</th>
|
||||||
<td>{% checkmark object.order_alphabetically %}</td>
|
<td>{% checkmark object.order_alphabetically %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Used by</th>
|
<th scope="row">Used by</th>
|
||||||
<td>{# TODO #}</td>
|
<td>
|
||||||
|
<ul class="list-unstyled mb-0">
|
||||||
|
{% for cf in object.custom_fields.all %}
|
||||||
|
<li>{{ cf|linkify }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user