Sha256: 89adafa9672dc3334099aad106b6bd06fbf380166689b1f8909710f15dcb106d

Contents?: true

Size: 1.28 KB

Versions: 17

Compression:

Stored size: 1.28 KB

Contents

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

  <div class="attachment_thumb picture_link">
    <%= link_to thumb_for(picture, 16),
        {:controller => "documents", :action => "download", :id => 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+"\"", 
    {:controller => "documents", :action => "download", :id => 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),
        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({ 
      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

17 entries across 17 versions & 2 rubygems

Version Path
social_stream-0.11.5 documents/app/views/pictures/_picture.html.erb
social_stream-0.11.4 documents/app/views/pictures/_picture.html.erb
social_stream-0.11.3 documents/app/views/pictures/_picture.html.erb
social_stream-0.11.2 documents/app/views/pictures/_picture.html.erb
social_stream-0.11.1 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.3.1 app/views/pictures/_picture.html.erb
social_stream-0.11.0 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.3.0 app/views/pictures/_picture.html.erb
social_stream-0.10.4 documents/app/views/pictures/_picture.html.erb
social_stream-0.10.3 documents/app/views/pictures/_picture.html.erb
social_stream-0.10.2 documents/app/views/pictures/_picture.html.erb
social_stream-0.10.1 documents/app/views/pictures/_picture.html.erb
social_stream-0.10.0 documents/app/views/pictures/_picture.html.erb
social_stream-0.9.7 documents/app/views/pictures/_picture.html.erb
social_stream-0.9.6 documents/app/views/pictures/_picture.html.erb
social_stream-0.9.5 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.2.8 app/views/pictures/_picture.html.erb