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