lib/aipim-rails/html.rb in aipim-rails-0.0.168 vs lib/aipim-rails/html.rb in aipim-rails-0.0.169

- old
+ new

@@ -57,11 +57,10 @@ def self.features(features) features.each_with_index do |feature, i| output = File.open("aipim/html/"+feature[:filename]+".html", "w") - output.puts ' <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> @@ -111,15 +110,11 @@ output.puts ' </ul> </div> - <div class="panel-footer scenario-screenshot">' - if !scenario[:screenshot].nil? && !feature[:filename].nil? - output.puts ' - <a href="../screenshots/'+feature[:filename]+'/'+scenario[:screenshot]+'"><img src="../screenshots/'+feature[:filename]+'/'+scenario[:screenshot]+'" /></a>' - end - output.puts ' + <div class="panel-footer scenario-screenshot"> + <a href="../screenshots/'+feature[:filename]+'/'+scenario[:screenshot]+'"><img src="../screenshots/'+feature[:filename]+'/'+scenario[:screenshot]+'" /></a> </div> </div>' end