|
@@ -19,6 +19,7 @@
|
|
{% if admin.parameters.onus|length > 0 %}
|
|
{% if admin.parameters.onus|length > 0 %}
|
|
<tr class="sonata-ba-view-container">
|
|
<tr class="sonata-ba-view-container">
|
|
<th>{{ 'show.label_pon_port'|trans({},'StatsBundle') }}</th>
|
|
<th>{{ 'show.label_pon_port'|trans({},'StatsBundle') }}</th>
|
|
|
|
+ <th>{{ 'show.label_status'|trans({},'StatsBundle') }}</th>
|
|
<th>{{ 'show.label_pon_serial_number'|trans({},'StatsBundle') }}</th>
|
|
<th>{{ 'show.label_pon_serial_number'|trans({},'StatsBundle') }}</th>
|
|
<th>{{ 'show.label_rx_power_pon_port'|trans({},'StatsBundle') }}</th>
|
|
<th>{{ 'show.label_rx_power_pon_port'|trans({},'StatsBundle') }}</th>
|
|
<th>{{ 'show.label_tx_power_onu'|trans({},'StatsBundle') }}</th>
|
|
<th>{{ 'show.label_tx_power_onu'|trans({},'StatsBundle') }}</th>
|
|
@@ -26,8 +27,13 @@
|
|
</tr>
|
|
</tr>
|
|
{% for onu in admin.parameters.onus %}
|
|
{% for onu in admin.parameters.onus %}
|
|
{% set o = onu['onu'] %}
|
|
{% set o = onu['onu'] %}
|
|
- <tr class="sonata-ba-view-container">
|
|
|
|
|
|
+ {% set style = 'opacity:0.5' %}
|
|
|
|
+ {% if o.getStatus() %}
|
|
|
|
+ {% set style = 'opacity:1' %}
|
|
|
|
+ {% endif %}
|
|
|
|
+ <tr class="sonata-ba-view-container" style="{{style}}">
|
|
<td>{{o.getPonPort()}}</td>
|
|
<td>{{o.getPonPort()}}</td>
|
|
|
|
+ <td>{% include 'StatsBundle:Templates:macro_status.html.twig' with {'value': o.getStatus()} only %}</td>
|
|
<td><a href="{{ path('admin_stats_onu_show', { 'id': o.getCustomId() }) }}">{{ o.getPonSerialNumber() }}</a></td>
|
|
<td><a href="{{ path('admin_stats_onu_show', { 'id': o.getCustomId() }) }}">{{ o.getPonSerialNumber() }}</a></td>
|
|
<td>{% include 'StatsBundle:Templates:onu_field_rx.html.twig' with {'value': onu['rxPower']} only %}</td>
|
|
<td>{% include 'StatsBundle:Templates:onu_field_rx.html.twig' with {'value': onu['rxPower']} only %}</td>
|
|
<td>{% include 'StatsBundle:Templates:onu_field_tx.html.twig' with {'value': o.getTxPower()} only %}</td>
|
|
<td>{% include 'StatsBundle:Templates:onu_field_tx.html.twig' with {'value': o.getTxPower()} only %}</td>
|