Sha256: 153c97f722c469262df5348bad5c025d009de1e3c726b3828ea4db1c7ceca083

Contents?: true

Size: 328 Bytes

Versions: 9

Compression:

Stored size: 328 Bytes

Contents

<% if thumbnail_asset.image? %>
  <span class="image"><%= image_tag(thumbnail_asset.url(thumbnail_style)) %></span>
<% else %>
  <span class="name" title="<%= thumbnail_asset.name %>"><%= truncate(thumbnail_asset.name, :length => 15) %></span>
  <span class="infos"><%= thumbnail_asset.content_type.join('/') %></span>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
papermill-0.12.2 app/views/papermill/_thumbnail_asset.html.erb
papermill-0.12.1 app/views/papermill/_thumbnail_asset.html.erb
papermill-0.12.0 app/views/papermill/_thumbnail_asset.html.erb
papermill-0.11.0 app/views/papermill/_thumbnail_asset.html.erb
papermill-0.10.4 app/views/papermill/_thumbnail_asset.html.erb
papermill-0.10.3 app/views/papermill/_thumbnail_asset.html.erb
papermill-0.10.2 app/views/papermill/_thumbnail_asset.html.erb
papermill-0.10.1 app/views/papermill/_thumbnail_asset.html.erb
papermill-0.10.0 app/views/papermill/_thumbnail_asset.html.erb