Sha256: 06ad71567f289a38b22257b9dcec45f17239a55a53e5caf51d28c276a2730f16

Contents?: true

Size: 801 Bytes

Versions: 3

Compression:

Stored size: 801 Bytes

Contents

:javascript
  $(document).ready(function() {
    $("#yearmonth_table").tablesorter({sortList: [[0, 1]]});
  });
- block(:commits_per_yearmonth) do
  .blockdiagram
    %img{ :src => 'commits_per_yearmonth.png' }
  %a.toggle{:href => '#'} Table
  .blocktable.toggleable
    %table#yearmonth_table.tablesorter.striped
      %thead
        %tr
          %th Year-Month
          %th Commits
          %th Files added
          %th Files deleted
          %th Lines added
          %th Lines deleted
      %tbody
        - stats.yearmonth_stats.each do |yearmonth, commits|
          %tr
            %td&= yearmonth
            %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_yearmonth.haml
gitstats-ruby-1.0.1 template/partials/commits_per_yearmonth.haml
gitstats-ruby-1.0.0 template/partials/commits_per_yearmonth.haml