Sha256: e790186040faa1c0c074a76ba15db6abd07cf65107e87f706ae59c65e6786578
Contents?: true
Size: 479 Bytes
Versions: 3
Compression:
Stored size: 479 Bytes
Contents
%h2 Progress - #{@scenario_count} - if @tag_count.any? %p This project has #{@scenario_count} scenarios, of which :- %ul{:class => 'chartlist'} - @tag_count.each do |tag, count| - ratio = (count.to_f / @scenario_count) * 100 %li %a{:href => "/search?q=#{tag}"} = "#{tag} (#{ratio.ceil}%)" %span{:class => "count #{tag}"} = ratio.ceil %span{:class => 'index', :style => "width: #{ratio.ceil}%"} = ratio
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wally-0.0.22 | lib/wally/views/progress.haml |
wally-0.0.21 | lib/wally/views/progress.haml |
wally-0.0.20 | lib/wally/views/progress.haml |