Sha256: 2b9eb36db3f596d9943dc5d94c6b002a22a6b34427747aebf818146f01a8e21c

Contents?: true

Size: 1.46 KB

Versions: 7

Compression:

Stored size: 1.46 KB

Contents

.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(4, [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(4, [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(4, [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(4, [author]))
        %small
          %center= "5 #{:best_authors_shown.t}"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
git_stats-1.0.11 templates/author_details/_author_details.haml
git_stats-1.0.10 templates/author_details/_author_details.haml
git_stats-1.0.9 templates/author_details/_author_details.haml
git_stats-1.0.8 templates/author_details/_author_details.haml
git_stats-1.0.7 templates/author_details/_author_details.haml
git_stats-1.0.6 templates/author_details/_author_details.haml
git_stats-1.0.5 templates/author_details/_author_details.haml