Fix translation for graph time selection and display
This commit is contained in:
@@ -66,14 +66,14 @@
|
||||
|
||||
<div class="dropdown pull-right" ng-hide="activeTab === 0">
|
||||
<button class="btn btn-sm btn-primary dropdown-toggle" type="button" data-toggle="dropdown">
|
||||
{{ 'system.selectPeriodLabel' | tr }} {{ graphs.periodLabel }}
|
||||
{{ graphs.period | trKeyFromPeriod | tr }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="" ng-click="graphs.setPeriod(6, '6 hours')">6 hours</a></li>
|
||||
<li><a href="" ng-click="graphs.setPeriod(24, '24 hours')">24 hours</a></li>
|
||||
<li><a href="" ng-click="graphs.setPeriod(24*7, '7 days')">7 days</a></li>
|
||||
<li><a href="" ng-click="graphs.setPeriod(24*30, '30 days')">30 days</a></li>
|
||||
<li><a href="" ng-click="graphs.setPeriod(6)">{{ 6 | trKeyFromPeriod | tr }}</a></li>
|
||||
<li><a href="" ng-click="graphs.setPeriod(24)">{{ 24 | trKeyFromPeriod | tr }}</a></li>
|
||||
<li><a href="" ng-click="graphs.setPeriod(24*7)">{{ 24*7 | trKeyFromPeriod | tr }}</a></li>
|
||||
<li><a href="" ng-click="graphs.setPeriod(24*30)">{{ 24*30 | trKeyFromPeriod | tr }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user