Sha256: 5aa5a970fe84129bd15a6647eda69d69a5e59924ab03c734bb0463db43129335

Contents?: true

Size: 1.55 KB

Versions: 55

Compression:

Stored size: 1.55 KB

Contents

<% cache([:manifestation => manifestation.id, :fragment => 'title_html', :role => current_user_role_name, :locale => @locale]) do %>
  <h2 class="resource_title">
    [M]
    <%= link_to title_with_volume_number(manifestation), manifestation, :itemprop => 'name' -%>
    <%= link_to form_icon(manifestation.carrier_type), manifestation -%>
  </h2>
  <p>
    <%- unless manifestation.creators.readable_by(current_user).empty? -%>
      <%= t('patron.creator') -%>: <%= patrons_list(manifestation.creators.readable_by(current_user), :itemprop => 'author') -%>
    <%- end -%>
    <%- unless manifestation.contributors.readable_by(current_user).empty? -%>
      <%= t('patron.contributor') -%>: <%= patrons_list(manifestation.contributors.readable_by(current_user), :itemprop => 'editor') -%>
    <%- end -%>
    <%- unless manifestation.publishers.readable_by(current_user).empty? -%>
      <%= t('patron.publisher') -%>: <%= patrons_list(manifestation.publishers.readable_by(current_user), :itemprop => 'publisher') -%>
    <% end %>
    <%- if manifestation.date_of_publication? -%>
      <meta itemprop="publishDate" content="<%= manifestation.date_of_publication.iso8601 %>" />
      (<%= t('activerecord.attributes.manifestation.pub_date') %>: <%= manifestation.pub_date -%>)
    <%- end -%>
    <%- if manifestation.access_address? -%>
      <br />
      <%= link_to manifestation.access_address, manifestation.access_address -%>
      <%= link_to image_tag('icons/world_go.png', :size => '16x16', :alt => ('Web')), manifestation.access_address -%>
    <%- end -%>
  </p>
<% end %>

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
enju_flower-0.1.0.pre8 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre38 app/views/manifestations/_title.html.erb
enju_flower-0.1.0.pre7 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre37 app/views/manifestations/_title.html.erb
enju_flower-0.1.0.pre6 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre36 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre35 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre34 app/views/manifestations/_title.html.erb
enju_flower-0.1.0.pre5 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre33 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre32 app/views/manifestations/_title.html.erb
enju_flower-0.1.0.pre4 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre31 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre30 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre29 app/views/manifestations/_title.html.erb
enju_flower-0.1.0.pre3 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre28 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre27 app/views/manifestations/_title.html.erb
enju_biblio-0.1.0.pre26 app/views/manifestations/_title.html.erb
enju_flower-0.1.0.pre2 app/views/manifestations/_title.html.erb