Sha256: 1f0aebb410780c417856eef372eb9d4a8de22ae1c921df2744578f9510d01de0

Contents?: true

Size: 493 Bytes

Versions: 20

Compression:

Stored size: 493 Bytes

Contents

%h2
  Progress
- if tag_count
  %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{:class => "#{tag.downcase.gsub("@", "")}"}
        %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

20 entries across 20 versions & 1 rubygems

Version Path
wally-0.0.45 lib/wally/views/progress.haml
wally-0.0.44 lib/wally/views/progress.haml
wally-0.0.43 lib/wally/views/progress.haml
wally-0.0.42 lib/wally/views/progress.haml
wally-0.0.41 lib/wally/views/progress.haml
wally-0.0.40 lib/wally/views/progress.haml
wally-0.0.39 lib/wally/views/progress.haml
wally-0.0.38 lib/wally/views/progress.haml
wally-0.0.37 lib/wally/views/progress.haml
wally-0.0.36 lib/wally/views/progress.haml
wally-0.0.35 lib/wally/views/progress.haml
wally-0.0.34 lib/wally/views/progress.haml
wally-0.0.33 lib/wally/views/progress.haml
wally-0.0.32 lib/wally/views/progress.haml
wally-0.0.31 lib/wally/views/progress.haml
wally-0.0.30 lib/wally/views/progress.haml
wally-0.0.29 lib/wally/views/progress.haml
wally-0.0.28 lib/wally/views/progress.haml
wally-0.0.27 lib/wally/views/progress.haml
wally-0.0.26 lib/wally/views/progress.haml