Sha256: b51ef53463dfac68869a7b00b4d4b928fa337c6d055c1ea9686bf569cdf35ff8

Contents?: true

Size: 521 Bytes

Versions: 3

Compression:

Stored size: 521 Bytes

Contents

:javascript
  $(document).ready(function() {
    $("#filetypes_table").tablesorter({
      sortList: [[1, 1]],
      headers: {
        2: { sorter: 'size' }
      }
    });
  });
- block(:filetypes) do
  .blocktable
    %table#filetypes_table.tablesorter.striped
      %thead
        %tr
          %th Extension
          %th Count
          %th Size
      %tbody
        - stats.filetype_stats.each do |type, file|
          %tr
            %td&= type
            %td&= file.count
            %td&= filesize(file.size)

Version data entries

3 entries across 3 versions & 2 rubygems

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