Sha256: 03a81021bc42478d5ea82d56dcdcc030192f7bf518d8c7efa849725aea130521

Contents?: true

Size: 686 Bytes

Versions: 3

Compression:

Stored size: 686 Bytes

Contents

- block(:lastweeks) do
  .blockdiagram
    %img{ :src => 'lastweeks.png' }
  %a.toggle{:href => '#'} Table
  .blocktable.toggleable
    %table.striped
      %thead
        %tr
          %th Week
          %th Commits
          %th Files added
          %th Files deleted
          %th Lines added
          %th Lines deleted
      %tbody
        - for week in 0..51
          - s = stats.lastweeks_stats[week]
          %tr
            %th&= week + 1
            %td&= (s.nil? ? 0 : s.commits)
            %td&= (s.nil? ? 0 : s.files_added)
            %td&= (s.nil? ? 0 : s.files_deleted)
            %td&= (s.nil? ? 0 : s.lines_added)
            %td&= (s.nil? ? 0 : s.lines_deleted)

Version data entries

3 entries across 3 versions & 2 rubygems

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