Sha256: a8993415f5fdf375c568fcd567b6adf49067797e4ee51fca7eb9ecc2139878b7

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 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>
	<%= 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 %>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
social_stream-0.18.0 documents/app/views/pictures/_picture.html.erb
social_stream-documents-0.8.0 app/views/pictures/_picture.html.erb