mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Clean up CSV import table
This commit is contained in:
@ -43,7 +43,7 @@
|
||||
<tr>
|
||||
<th>Field</th>
|
||||
<th>Required</th>
|
||||
<th>Dynamic</th>
|
||||
<th>Accessor</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
{% for name, field in fields.items %}
|
||||
@ -54,11 +54,15 @@
|
||||
<td>
|
||||
{% if field.required %}
|
||||
<i class="fa fa-check text-success" title="Required"></i>
|
||||
{% else %}
|
||||
<span class="text-muted">—</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if field.to_field_name %}
|
||||
<i class="fa fa-asterisk text-success" title="Dynamic"></i>
|
||||
<code>{{ field.to_field_name }}</code>
|
||||
{% else %}
|
||||
<span class="text-muted">—</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
@ -84,9 +88,8 @@
|
||||
objects.
|
||||
</p>
|
||||
<p class="small text-muted">
|
||||
<i class="fa fa-asterisk"></i> Dynamic fields may optionally refer to a related object by an
|
||||
alternative attribute. For example, <code>vrf.rd</code> would identify a VRF by its RD
|
||||
attribute.
|
||||
<i class="fa fa-info-circle"></i> Related objects may be referenced by any unique attribute.
|
||||
For example, <code>vrf.rd</code> would identify a VRF by its route distinguisher.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user