git_stats/templates/files/_files.haml

16 lines
570 B
Plaintext
Raw Normal View History

2012-10-22 19:50:31 +02:00
.tabbable.tabs-left
%ul.nav.nav-tabs
%li{class: page == :files_by_date ? "active" : ""}
%a{:href => 'by_date.html'}= :files_by_date.t
%li{class: page == :files_by_extension ? "active" : ""}
%a{:href => 'by_extension.html'}= :files_by_extension.t
.tab-content
.tab-pane.active
.page-header
%h1.pagination-centered= page.t
- if page == :files_by_date
= high_stock("files_by_date", charts.files_by_date)
- elsif page == :files_by_extension
= high_chart("files_by_extension", charts.files_by_extension)