Sha256: 41822d3476f936f54b08cbcb6bac16df801ba9de1191eaa1fb4fd6649a34f7cd

Contents?: true

Size: 1.22 KB

Versions: 13

Compression:

Stored size: 1.22 KB

Contents

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

  <div class="picture_link picture_thumbnail_show">
    <%= link_to thumb_for(picture, 130),
                download_document_path(picture),
        :type => picture.type,
                :title => picture.title,
                :path => document_path(picture) %>
  </div>

  <div class="attachment_text picture_summary_class">
        <div class="title"> 
  	  <%= picture.title %>
        </div>

	<%= simple_format auto_link(picture.description) %>

        <%= link_to t('picture.msg'),
              picture_path(picture),
              :alt => t('picture.msg'),
              :type => picture.type,
              :path => document_path(picture),
              :class => "attachment_text_link picture_link" %>
  </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 %>

<div class="clearfloat"></div>

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
social_stream-0.25.2 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.13.2 app/views/pictures/_picture.html.erb
social_stream-0.25.1 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.13.1 app/views/pictures/_picture.html.erb
social_stream-0.25.0 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.13.0 app/views/pictures/_picture.html.erb
social_stream-0.24.1 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.12.1 app/views/pictures/_picture.html.erb
social_stream-0.24.0 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.12.0 app/views/pictures/_picture.html.erb
social_stream-0.23.4 documents/app/views/pictures/_picture.html.erb
social_stream-0.23.3 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.11.5 app/views/pictures/_picture.html.erb