mirror of https://github.com/tomgi/git_stats.git
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
.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
|
|
= high_stock("charts.commits_sum_by_author_by_date", charts.commits_sum_by_author_by_date([author]))
|
|
%small
|
|
%center= "5 #{:best_authors_shown.t}"
|
|
|
|
-elsif page == :changed_lines_by_date
|
|
= high_stock("charts.changed_lines_by_author_by_date", charts.changed_lines_by_author_by_date([author]))
|
|
%small
|
|
%center= "5 #{:best_authors_shown.t}"
|
|
|
|
-elsif page == :insertions_by_date
|
|
= high_stock("charts.insertions_by_author_by_date", charts.insertions_by_author_by_date([author]))
|
|
%small
|
|
%center= "5 #{:best_authors_shown.t}"
|
|
|
|
-elsif page == :deletions_by_date
|
|
= high_stock("charts.deletions_by_author_by_date", charts.deletions_by_author_by_date([author]))
|
|
%small
|
|
%center= "5 #{:best_authors_shown.t}" |