1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
netbox-community-netbox/netbox/templates/wireless/inc/wirelesslink_interface.html
Jeremy Stretch d470848b29 Closes #12246: General cleanup of utilities modules
* Clean up base modules

* Clean up forms modules

* Clean up templatetags modules

* Replace custom simplify_decimal filter with floatformat

* Misc cleanup

* Merge ReturnURLForm into ConfirmationForm

* Clean up import statements for utilities.forms

* Fix field class references in docs
2023-04-14 10:33:53 -04:00

51 lines
1.0 KiB
HTML

{% load helpers %}
<table class="table table-hover panel-body attr-table">
<tr>
<td>Device</td>
<td>{{ interface.device|linkify }}</td>
</tr>
<tr>
<td>Interface</td>
<td>{{ interface|linkify }}</td>
</tr>
<tr>
<td>Type</td>
<td>
{{ interface.get_type_display }}
</td>
</tr>
<tr>
<td>Role</td>
<td>
{{ interface.get_rf_role_display|placeholder }}
</td>
</tr>
<tr>
<td>Channel</td>
<td>
{{ interface.get_rf_channel_display|placeholder }}
</td>
</tr>
<tr>
<th scope="row">Channel Frequency</th>
<td>
{% if interface.rf_channel_frequency %}
{{ interface.rf_channel_frequency|floatformat:"-2" }} MHz
{% else %}
{{ ''|placeholder }}
{% endif %}
</td>
</tr>
<tr>
<th scope="row">Channel Width</th>
<td>
{% if interface.rf_channel_width %}
{{ interface.rf_channel_width|floatformat:"-3" }} MHz
{% else %}
{{ ''|placeholder }}
{% endif %}
</td>
</tr>
</table>