Sha256: 22f73bb05c56f92415009f7ef7ff3b6fbf9e0f0f304b941c55d15a6a82107d3d
Contents?: true
Size: 674 Bytes
Versions: 12
Compression:
Stored size: 674 Bytes
Contents
<% if @asset.image? %> <%= link_to image_tag( @asset.url('100x100#', @asset.web_image_extension), :alt => @asset.description, :id => "asset-#{@asset.id}" ), @asset.url('800x600', @asset.web_image_extension), :class => 'lightbox', :title => @asset.title %> <% elsif @asset.video? %> <div class="video"> <%= link_to image_tag( @asset.url('220x125#', @asset.web_image_extension), :alt => @asset.description, :id => "asset-#{@asset.id}" ), @asset.url, :class => 'lightboxVideo', :title => @asset.title %> <strong><%= @asset.title %></strong> </div> <% else -%> <%= link_to( @asset.title, @asset.url, :title => @asset.description, :id => "asset-#{@asset.id}" ) %> <% end -%>
Version data entries
12 entries across 12 versions & 1 rubygems