Sha256: 335133fdcecf1e56b7ab665c7ff76c3e5ca7f021fe3b6fbd31e13b91e14ef86e

Contents?: true

Size: 915 Bytes

Versions: 5

Compression:

Stored size: 915 Bytes

Contents

- unless photos.empty?
  %ul.curblyadvimage_list
    - photos.each do |p|
      %li{:id => p.id, :class => @selected.eql?(p.id.to_s) ? 'selected' : ''}
        .thumbs
          = :insert.l + ":"
          %br
          %a{:href=>p.photo.url(:thumb), :alt => p.display_name}
            = :thumb.l
          %a{:href=>p.photo.url(:medium), :alt => p.display_name}
            = :medium.l
          %a{:href=>p.photo.url(:large), :alt => p.display_name}
            = :large.l
          %br
          %a{:href=>'#', :onclick=>"$(this).up('li').removeClassName('selected');return false;", :style => 'float:right; font-size: 10px;'}
            = :cancel.l
        %a{:href=>'#', :onclick=>"select_image(this);return false;"}
          = image_tag( p.photo.url(:thumb), :alt => p.display_name )
          
  :javascript
    $$('.thumbs a').invoke("observe", 'click', select_thumb)
- else
  = :no_images_uploaded_yet.l

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/photos/_show_image_list.html.haml
community_engine-2.3.1 app/views/photos/_show_image_list.html.haml
community_engine-2.3.0 app/views/photos/_show_image_list.html.haml
community_engine-2.1.0 app/views/photos/_show_image_list.html.haml
community_engine-2.0.0 app/views/photos/_show_image_list.html.haml