Sha256: 9a1dae7f286d1a5199d823095744b3c32f911892afe7ed76718015ecfdbb6277

Contents?: true

Size: 1.75 KB

Versions: 31

Compression:

Stored size: 1.75 KB

Contents

<% cache([manifestation, 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' -%>
    <% if manifestation.serial? %>
      <%= image_tag('icons/newspaper.png', size: '16x16', class: 'enju_icon', alt: t('manifestation.serial')) -%>
    <%- end -%>
    <%= link_to form_icon(manifestation.carrier_type), manifestation -%>
  </h2>
  <p>
    <%= manifestation.statement_of_responsibility %><br />
    <%- unless manifestation.creators.readable_by(current_user).empty? -%>
      <%= t('agent.creator') -%>: <%= agents_list(manifestation.creators.readable_by(current_user), itemprop: 'author') -%>
    <%- end -%>
    <%- unless manifestation.contributors.readable_by(current_user).empty? -%>
      <%= t('agent.contributor') -%>: <%= agents_list(manifestation.contributors.readable_by(current_user), itemprop: 'editor') -%>
    <%- end -%>
    <%- unless manifestation.publishers.readable_by(current_user).empty? -%>
      <%= t('agent.publisher') -%>: <%= agents_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', class: 'enju_icon', alt: t('manifestation.web')), manifestation.access_address -%>
    <%- end -%>
  </p>
<% end %>

Version data entries

31 entries across 30 versions & 2 rubygems

Version Path
enju_biblio-0.3.13 app/views/manifestations/_title.html.erb
enju_biblio-0.3.12 app/views/manifestations/_title.html.erb
enju_biblio-0.3.11 app/views/manifestations/_title.html.erb
enju_biblio-0.3.10 app/views/manifestations/_title.html.erb
enju_biblio-0.3.10.rc.3 app/views/manifestations/_title.html.erb
enju_biblio-0.3.10.rc.2 app/views/manifestations/_title.html.erb
enju_biblio-0.3.10.rc.1 app/views/manifestations/_title.html.erb
enju_biblio-0.3.9 app/views/manifestations/_title.html.erb
enju_biblio-0.4.0.rc.1 app/views/manifestations/_title.html.erb
enju_biblio-0.3.8 app/views/manifestations/_title.html.erb
enju_biblio-0.3.7 app/views/manifestations/_title.html.erb
enju_biblio-0.3.6 app/views/manifestations/_title.html.erb
enju_biblio-0.4.0.beta.2 app/views/manifestations/_title.html.erb
enju_biblio-0.4.0.beta.1 app/views/manifestations/_title.html.erb
enju_biblio-0.3.5 app/views/manifestations/_title.html.erb
enju_biblio-0.3.4 app/views/manifestations/_title.html.erb
enju_biblio-0.3.3 app/views/manifestations/_title.html.erb
enju_biblio-0.3.2 app/views/manifestations/_title.html.erb
enju_biblio-0.3.1 app/views/manifestations/_title.html.erb
enju_biblio-0.3.0 app/views/manifestations/_title.html.erb