sutty/app/views/stats/index.haml

18 lines
502 B
Text
Raw Normal View History

2019-09-04 16:50:27 +00:00
= render 'layouts/breadcrumb',
2019-09-12 16:57:25 +00:00
crumbs: [link_to(t('sites.index.title'), sites_path),
2019-09-04 16:50:27 +00:00
link_to(@site.name, site_path(@site)), t('.title')]
2019-08-02 00:20:42 +00:00
.row
.col
%h1= t('.title')
%p.lead= t('.help')
%table.table.table-striped.table-condensed
%tbody
%tr
%td= t('.build.average')
%td= distance_of_time_in_words_if_more_than_a_minute @build_avg
%tr
%td= t('.build.maximum')
%td= distance_of_time_in_words_if_more_than_a_minute @build_max