{% extends "ui/panels/_base.html" %} {% load helpers i18n %} {% block panel_content %} {% with peer=object.connected_endpoints.0 %}
| {% trans "Local" %} | {% if peer %}{% trans "Peer" %} | {% endif %}|
|---|---|---|
| {% trans "Role" %} | {{ object.get_rf_role_display|placeholder }} | {% if peer %}{{ peer.get_rf_role_display|placeholder }} | {% endif %}
| {% trans "Channel" %} | {{ object.get_rf_channel_display|placeholder }} | {% if peer %}{{ peer.get_rf_channel_display|placeholder }} | {% endif %}
| {% trans "Channel frequency" %} | {% if object.rf_channel_frequency %} {{ object.rf_channel_frequency|floatformat:"-2" }} {% trans "MHz" %} {% else %} {{ ''|placeholder }} {% endif %} | {% if peer %}{% if peer.rf_channel_frequency %} {{ peer.rf_channel_frequency|floatformat:"-2" }} {% trans "MHz" %} {% else %} {{ ''|placeholder }} {% endif %} | {% endif %}
| {% trans "Channel width" %} | {% if object.rf_channel_width %} {{ object.rf_channel_width|floatformat:"-3" }} {% trans "MHz" %} {% else %} {{ ''|placeholder }} {% endif %} | {% if peer %}{% if peer.rf_channel_width %} {{ peer.rf_channel_width|floatformat:"-3" }} {% trans "MHz" %} {% else %} {{ ''|placeholder }} {% endif %} | {% endif %}