Sha256: 4dc60d8fde48fc5cafdf39c1dbc761164a9fa2cacd86defe78338c838c35e13a

Contents?: true

Size: 558 Bytes

Versions: 3

Compression:

Stored size: 558 Bytes

Contents

<% unless manifestation.identifier_contents(:isbn).empty? %>
  <div id="gbsthumbnail<%= manifestation.id %>" class="book_jacket"></div>
  <script type="text/javascript">
    gbs_addTheCover( '<%= manifestation.identifier_contents(:isbn).first %>', 'gbsthumbnail<%= manifestation.id %>' );
  </script>
<% else %>
  <% if @library_group.settings[:book_jacket_unknown_resource] %>
    <%= @library_group.settings[:book_jacket_unknown_resource] %>
  <% else %>
    <%= image_tag("unknown_resource.png", size: "100x100", alt: "No Image") %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_manifestation_viewer-0.1.1 app/views/manifestations/_google_book_thumbnail.html.erb
enju_manifestation_viewer-0.1.0 app/views/manifestations/_google_book_thumbnail.html.erb
enju_manifestation_viewer-0.1.0.pre19 app/views/manifestations/_google_book_thumbnail.html.erb