2019-08-02 00:20:42 +00:00
|
|
|
.row
|
|
|
|
.col
|
|
|
|
%h1= t('.title')
|
|
|
|
%p.lead= t('.help')
|
2021-10-08 21:24:19 +00:00
|
|
|
%p
|
|
|
|
%small
|
|
|
|
= t('.last_update')
|
|
|
|
%time{ datetime: @last_stat.created_at }
|
|
|
|
"#{time_ago_in_words @last_stat.created_at}."
|
2019-08-02 00:20:42 +00:00
|
|
|
|
2021-10-08 19:31:02 +00:00
|
|
|
.mb-3
|
|
|
|
- StatsController::INTERVALS.each do |interval|
|
|
|
|
= link_to t(".#{interval}"), site_stats_path(interval: interval), class: 'btn'
|
|
|
|
|
|
|
|
.mb-3
|
|
|
|
%h2= t('.host', count: @hostnames.size)
|
|
|
|
= line_chart site_stats_host_path(@chart_params), locale: 'es'
|