2013-02-21 11:15:58 +01:00
|
|
|
.tabbable.tabs-left
|
|
|
|
%ul.nav.nav-tabs
|
|
|
|
%li{class: page == :commits_by_date ? "active" : ""}
|
|
|
|
%a{href: 'commits_by_date.html'}= :commits_by_date.t
|
|
|
|
%li{class: page == :changed_lines_by_date ? "active" : ""}
|
|
|
|
%a{href: 'changed_lines_by_date.html'}= :changed_lines_by_date.t
|
|
|
|
%li{class: page == :insertions_by_date ? "active" : ""}
|
|
|
|
%a{href: 'insertions_by_date.html'}= :insertions_by_date.t
|
|
|
|
%li{class: page == :deletions_by_date ? "active" : ""}
|
|
|
|
%a{href: 'deletions_by_date.html'}= :deletions_by_date.t
|
|
|
|
|
|
|
|
.tab-content
|
|
|
|
.tab-pane.active
|
|
|
|
.page-header
|
|
|
|
%h1.pagination-centered= page.t
|
|
|
|
|
|
|
|
-if page == :commits_by_date
|
2014-06-22 16:14:42 +02:00
|
|
|
= high_stock("charts.commits_sum_by_author_by_date", charts.commits_sum_by_author_by_date([author]))
|
2013-02-21 11:15:58 +01:00
|
|
|
%small
|
|
|
|
%center= "5 #{:best_authors_shown.t}"
|
|
|
|
|
|
|
|
-elsif page == :changed_lines_by_date
|
2014-06-22 16:14:42 +02:00
|
|
|
= high_stock("charts.changed_lines_by_author_by_date", charts.changed_lines_by_author_by_date([author]))
|
2013-02-21 11:15:58 +01:00
|
|
|
%small
|
|
|
|
%center= "5 #{:best_authors_shown.t}"
|
|
|
|
|
|
|
|
-elsif page == :insertions_by_date
|
2014-06-22 16:14:42 +02:00
|
|
|
= high_stock("charts.insertions_by_author_by_date", charts.insertions_by_author_by_date([author]))
|
2013-02-21 11:15:58 +01:00
|
|
|
%small
|
|
|
|
%center= "5 #{:best_authors_shown.t}"
|
|
|
|
|
|
|
|
-elsif page == :deletions_by_date
|
2014-06-22 16:14:42 +02:00
|
|
|
= high_stock("charts.deletions_by_author_by_date", charts.deletions_by_author_by_date([author]))
|
2013-02-21 11:15:58 +01:00
|
|
|
%small
|
|
|
|
%center= "5 #{:best_authors_shown.t}"
|