ipaddress_bulk_edit.html 913 B

12345678910111213141516171819202122232425
  1. {% extends 'utilities/bulk_edit_form.html' %}
  2. {% load form_helpers %}
  3. {% block title %}IP Address Bulk Edit{% endblock %}
  4. {% block selected_objects_table %}
  5. <tr>
  6. <th>IP Address</th>
  7. <th>VRF</th>
  8. <th>Tenant</th>
  9. <th>Status</th>
  10. <th>Assigned</th>
  11. <th>Description</th>
  12. </tr>
  13. {% for ipaddress in selected_objects %}
  14. <tr>
  15. <td><a href="{% url 'ipam:ipaddress' pk=ipaddress.pk %}">{{ ipaddress }}</a></td>
  16. <td>{{ ipaddress.vrf|default:"Global" }}</td>
  17. <td>{{ ipaddress.tenant }}</td>
  18. <td>{{ ipaddress.get_status_display }}</td>
  19. <td>{% if ipaddress.interface %}<i class="glyphicon glyphicon-ok text-success" title="{{ ipaddress.interface.device }} {{ ipaddress.interface }}"></i>{% endif %}</td>
  20. <td>{{ ipaddress.description }}</td>
  21. </tr>
  22. {% endfor %}
  23. {% endblock %}