Sha256: 378b6d992cbf81db540ab5470272135d9b26ce75d2236616c0dfd5c072fd85fe

Contents?: true

Size: 760 Bytes

Versions: 3

Compression:

Stored size: 760 Bytes

Contents

:javascript
  $(document).ready(function() {
    $("#year_table").tablesorter({sortList: [[0, 1]]});
  });
- block(:commits_per_year) do
  .blockdiagram
    %img{ :src => 'commits_per_year.png' }
  %a.toggle{:href => '#'} Table
  .blocktable.toggleable
    %table#year_table.tablesorter.striped
      %thead
        %tr
          %th Year
          %th Commits
          %th Files added
          %th Files deleted
          %th Lines added
          %th Lines deleted
      %tbody
        - stats.year_stats.each do |year, commits|
          %tr
            %td&= year
            %td&= commits.commits
            %td&= commits.files_added
            %td&= commits.files_deleted
            %td&= commits.lines_added
            %td&= commits.lines_deleted

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
gitstats-rb-2.0.0 template/gnuplot/partials/commits_per_year.haml
gitstats-ruby-1.0.1 template/partials/commits_per_year.haml
gitstats-ruby-1.0.0 template/partials/commits_per_year.haml