Sha256: 8f3b72c15b416667c7349bc84b7ea7704899581b1aaf3216070d45e55d1ec278

Contents?: true

Size: 526 Bytes

Versions: 4

Compression:

Stored size: 526 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 => "/projects/#{current_project.name}/search?q=#{tag}"}
          = "#{tag} (#{ratio.ceil}%)"
        %span{:class => "count #{tag}"}
          = ratio.ceil
        %span{:class => "index", :style => "width: #{ratio.ceil}%"}
          = ratio

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
nuker-2.0.0 lib/nuker/views/progress.haml
nuker-1.0.0 lib/nuker/views/progress.haml
wally-0.0.47 lib/wally/views/progress.haml
wally-0.0.46 lib/wally/views/progress.haml