浏览代码

FD3-631 Se añade texto informativo a la vista de OLT.

Maxi Schvindt 6 年之前
父节点
当前提交
4cddbaf2e7

+ 2 - 0
src/StatsBundle/Resources/translations/StatsBundle.es.yml

@@ -267,6 +267,8 @@ info:
     info_interface_2: Información sobre contadores de Interface reportada por el CMTS, algunas Interfaces no reportan estos valores
     info_interface_3: Información sobre calidad de señal de Interface reportada por el CMTS, algunas Interfaces no reportan estos valores
     info_cmts_1: Información básica del CMTS reportada por el CMTS
+    info_olt_1_cpu: Porcentaje de uso de los CPU de la OLT
+    info_olt_1_memory: Porcentaje de uso de memoria de la OLT
 
     
 help:

+ 8 - 2
src/StatsBundle/Resources/views/Stats/Template/olt_info_1.html.twig

@@ -37,7 +37,10 @@
         <br />
 
         <table class="table table-hover table-condensed table-striped table-bordered">
-        <thead><th colspan=1>{{ 'cpu_cards_percent'|trans({}, 'StatsBundle') }}&nbsp;&nbsp;<span class="no_defined">%</span></th></thead>
+        <thead><th colspan=1>
+        {{ 'cpu_cards_percent'|trans({}, 'StatsBundle') }}&nbsp;&nbsp;<span class="no_defined">%</span>
+        <span class="info-title"><i class="fa fa-info-circle" title="{{ 'info.info_olt_1_cpu'|trans({}, 'StatsBundle') }}"></i></span>
+        </th></thead>
         <tbody>
             <tbody>
                 <tr>
@@ -65,7 +68,10 @@
         
         <br />
         <table class="table table-hover table-condensed table-striped table-bordered">
-        <thead><th colspan=1>{{ 'memory_cards_percent'|trans({}, 'StatsBundle') }}&nbsp;&nbsp;<span class="no_defined">%</span></th></thead>
+        <thead><th colspan=1>
+        {{ 'memory_cards_percent'|trans({}, 'StatsBundle') }}&nbsp;&nbsp;<span class="no_defined">%</span>
+        <span class="info-title"><i class="fa fa-info-circle" title="{{ 'info.info_olt_1_memory'|trans({}, 'StatsBundle') }}"></i></span>
+        </th></thead>
         <tbody>
             <tbody>
                 <tr>