Sha256: 951f1295b6f089820748049c77b0c764b543989b27e1a823024bbc44a5bc1661
Contents?: true
Size: 1.34 KB
Versions: 26
Compression:
Stored size: 1.34 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.title, :path => document_path(picture) %> </div> <div class="attachment_text picture_summary_class picture_link"> <%= t('picture.msg') %> <%= link_to "\""+picture.title+"\"", picture_path(picture), :alt => picture.title, :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.title, :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
26 entries across 26 versions & 4 rubygems