Sha256: 4c47a4d2060f410099bd081cb649bf10d49a7d1229fbdf24e5ec9976355ab69b

Contents?: true

Size: 1.38 KB

Versions: 24

Compression:

Stored size: 1.38 KB

Contents

<%= div_for picture, :class => 'content_size' do %>

  <div class="attachment_thumb picture_link">
    <%= link_to thumb_for(picture, 16),
                 picture_path(picture),
                :type => picture.type, 
            		:title => picture.file_file_name,
            		:path => document_path(picture) %>
  </div>
  
  <div class="attachment_text picture_summary_class picture_link">
  	<%= t('picture.msg') %>
  	<%= link_to "\""+picture.file_file_name+"\"", 
                picture_path(picture),
                :alt => picture.file_file_name,
               	:type => picture.type,
               	:path => document_path(picture),
                :class => "attachment_text_link" %>
  </div>
  
  <div class="picture_link picture_thumbnail_show">
    <%= link_to thumb_for(picture, 130),
                download_document_path(picture),
        :type => picture.type, 
		:title => picture.file_file_name,
		:path => document_path(picture) %>
  </div>
<% end %>


<%= javascript_tag do %>
  $(document).ready(function() {
    $('.picture_thumbnail_show a').lightBox({ 
      maxHeight: 920,
      maxWidth: 920,
      imageLoading: 'assets/lightbox-ico-loading.gif',
      imageBtnClose: 'assets/lightbox-btn-close.gif',
      imageBtnPrev: 'assets/lightbox-btn-prev.gif',
      imageBtnNext: 'assets/lightbox-btn-next.gif',
      imageBlank: 'assets/lightbox-blank.gif'});    
  })
<% end %>

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
social_stream-0.12.14 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.4.8 app/views/pictures/_picture.html.erb
social_stream-0.12.13 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.4.7 app/views/pictures/_picture.html.erb
social_stream-0.12.12 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.4.6 app/views/pictures/_picture.html.erb
social_stream-0.12.11 documents/app/views/pictures/_picture.html.erb
social_stream-0.12.10 documents/app/views/pictures/_picture.html.erb
social_stream-0.12.9 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.4.5 app/views/pictures/_picture.html.erb
social_stream-0.12.8 documents/app/views/pictures/_picture.html.erb
social_stream-0.12.7 documents/app/views/pictures/_picture.html.erb
social_stream-0.12.6 documents/app/views/pictures/_picture.html.erb
social_stream-0.12.5 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.4.4 app/views/pictures/_picture.html.erb
social_stream-0.12.4 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.4.3 app/views/pictures/_picture.html.erb
social_stream-0.12.3 documents/app/views/pictures/_picture.html.erb
social_stream-0.12.2 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.4.2 app/views/pictures/_picture.html.erb