lib/wally/views/layout.haml in wally-0.0.29 vs lib/wally/views/layout.haml in wally-0.0.30

- old
+ new

@@ -16,22 +16,16 @@ %input{:type => "text", :id => "q", :name => "q", :placeholder => 'text, @tags etc.', :value => @q } %input.btn{:type => "submit", :id => "search", :value => "Search"} %div.container-fluid %div.sidebar %ul - -# %li - -# %a{:href => "/search?q="} - -# = "Scenarios (#{scenario_count})" - -# %li - -# %a{:href => "/"} - -# = "Features (#{lists_features.features.length})" %li %a{:href => "/progress"} Progress %h2 - = "Features (#{lists_features.features.length})" + = "Features (#{Wally::Feature.all.count})" %ul - - lists_features.features.each do |feature| + - Wally::Feature.sort(:name).each do |feature| = haml :feature_link, {:locals => {:feature => feature}, :layout => false} - if tag_count.any? %h2 = "Tags (#{tag_count.values.sum})" %ul