Skip to content

Commit

Permalink
removed unused views - mreged and cached some js
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Longhi committed Feb 3, 2010
1 parent 7e46bad commit b3d4c16
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 55 deletions.
2 changes: 1 addition & 1 deletion app/views/hardware/_images.html.haml
@@ -1,6 +1,6 @@
-unless @hardware.images.empty?
- content_for :head do
= stylesheet_link_tag 'fancybox-1.2.6'
= javascript_include_tag 'fancybox/jquery.fancybox-1.2.6.pack', 'images_popup'
= javascript_include_tag 'fancybox/jquery.fancybox-1.2.6.pack', 'images_popup', :cache => 'fancybox'
- @hardware.images.each do |image|
= link_to image_tag(image.picture(:thumb), :alt => image.title), image.picture(:normal), :title => image.title
3 changes: 1 addition & 2 deletions app/views/layouts/museum.html.haml
Expand Up @@ -7,9 +7,8 @@
%meta{:name => 'google-site-verification', :content => 'Mdt5JjGTpQRoDQHYclwXmj_cE2OeFUiBPuJXnKL4_hw'}/
%title= "WAIT 6502 retrocomputing - #{@title}"
= stylesheet_link_tag 'museum'
= javascript_include_tag 'jquery-1.3.2.min', 'museum'
= javascript_include_tag 'jquery-1.3.2.min', 'museum', :cache => 'main'
<!--[if lt IE 7]>
= javascript_include_tag 'jquery.pngFix.pack'
= stylesheet_link_tag 'ie6'
<![endif]-->
= yield :head
Expand Down
18 changes: 0 additions & 18 deletions app/views/peripherals/index.html.haml

This file was deleted.

23 changes: 0 additions & 23 deletions app/views/peripherals/show.html.haml

This file was deleted.

11 changes: 0 additions & 11 deletions public/javascripts/jquery.pngFix.pack.js

This file was deleted.

0 comments on commit b3d4c16

Please sign in to comment.