mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 22:26:22 +00:00
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
|
||||
- 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
|
||||
%h2= t('.host', count: @hostnames.size)
|
||||
|
|
Loading…
Reference in a new issue