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
Arthur Hanson 7c17d2e932 Closes #13102: Establish initial translation support in templates
---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-28 16:30:25 -04:00

52 lines
1.3 KiB
HTML

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