resaltar el intervalo seleccionado
This commit is contained in:
parent
cfb2d7a61d
commit
38090d7de7
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
.mb-3
|
.mb-3
|
||||||
- StatsController::INTERVALS.each do |interval|
|
- StatsController::INTERVALS.each do |interval|
|
||||||
= link_to t(".#{interval}"), site_stats_path(interval: interval), class: 'btn'
|
= link_to t(".#{interval}"), site_stats_path(interval: interval), class: "btn #{'btn-primary active' if params[:interval].to_sym == interval}"
|
||||||
|
|
||||||
.mb-3
|
.mb-3
|
||||||
%h2= t('.host', count: @hostnames.size)
|
%h2= t('.host', count: @hostnames.size)
|
||||||
|
|
Loading…
Reference in a new issue