diff --git a/public/designs/icons/tango/mod/96x96/mimetypes/image-x-generic.png b/public/designs/icons/tango/mod/96x96/mimetypes/image-x-generic.png new file mode 100644 index 0000000..90a6547 Binary files /dev/null and b/public/designs/icons/tango/mod/96x96/mimetypes/image-x-generic.png differ diff --git a/public/designs/icons/tango/style.css b/public/designs/icons/tango/style.css index 4fa008b..d179940 100644 --- a/public/designs/icons/tango/style.css +++ b/public/designs/icons/tango/style.css @@ -102,3 +102,4 @@ /******************LARGE ICONS********************/ .image-gallery-item .folder { background-image: url(mod/96x96/places/folder.png) } +.image-gallery-item .gallery { background-image: url(mod/96x96/mimetypes/image-x-generic.png) } diff --git a/test/functional/content_viewer_controller_test.rb b/test/functional/content_viewer_controller_test.rb index ccfa9a6..52c6b05 100644 --- a/test/functional/content_viewer_controller_test.rb +++ b/test/functional/content_viewer_controller_test.rb @@ -827,7 +827,7 @@ class ContentViewerControllerTest < Test::Unit::TestCase get :view_page, :profile => profile.identifier, :page => folder.explode_path - assert_tag :tag => 'img', :attributes => {:src => /\/images\/icons-app\/image-loading-thumb.png/} + assert_tag :tag => 'a', :attributes => {:class => 'image', :style => /background-image: url\(\/images\/icons-app\/image-loading-thumb.png\)/} end should 'display thumbnail image in gallery if thumbnails were processed' do @@ -839,7 +839,7 @@ class ContentViewerControllerTest < Test::Unit::TestCase process_delayed_job_queue get :view_page, :profile => profile.identifier, :page => folder.explode_path - assert_tag :tag => 'img', :attributes => {:src => /other-pic_thumb.jpg/} + assert_tag :tag => 'a', :attributes => {:class => 'image', :style => /background-image: url\(.*\/other-pic_thumb.jpg\)/} end should 'display source from article' do -- libgit2 0.21.2