Jeremy Stretch 5 лет назад
Родитель
Сommit
f9f7c19d81
1 измененных файлов с 8 добавлено и 5 удалено
  1. 8 5
      netbox/templates/utilities/obj_bulk_import.html

+ 8 - 5
netbox/templates/utilities/obj_bulk_import.html

@@ -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">&mdash;</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">&mdash;</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>