Skip to content

Commit

Permalink
Improved display of RFC2317 details
Browse files Browse the repository at this point in the history
  • Loading branch information
peteeckel committed Jan 28, 2024
1 parent e596a65 commit 30bf317
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netbox_dns/templates/netbox_dns/record.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h5 class="card-header">Record</h5>
{% if object.type == 'A' or object.type == 'AAAA' %}
<tr>
<th scope="row">Disable PTR</th>
<td>{{ object.disable_ptr }}</td>
<td>{% checkmark object.disable_ptr %}</td>
</tr>
{% endif %}
{% if object.ptr_record %}
Expand Down
4 changes: 2 additions & 2 deletions netbox_dns/templates/netbox_dns/zone.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ <h5 class="card-header">RFC2317</h5>
<th scope="row">Prefix</th>
<td>{{ object.rfc2317_prefix }}</td>
</tr>
{% if object.rfc2317_parent_managed %}
<tr>
<th scope="row">Parent Managed</th>
<td>{{ object.rfc2317_parent_managed }}</td>
<td>{% checkmark object.rfc2317_parent_managed %}</td>
</tr>
{% if object.rfc2317_parent_managed %}
<tr>
<th scope="row">Parent Zone</th>
<td><a href="{% url 'plugins:netbox_dns:zone' pk=object.rfc2317_parent_zone.pk %}">{{ object.rfc2317_parent_zone }}</a></td>
Expand Down

0 comments on commit 30bf317

Please sign in to comment.