Sha256: 1ee023f9db9b3a6ba9f76f8f757a52058428d6e620fa6d6f72adcf469c5c199f

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

<%- published_param = @label.published? ? nil : 0 %>
<%= content_for :head do -%>
  <link href="<%= rdf_url(@label.origin, :format => :ttl, :published => published_param, :lang => nil) %>" type="text/turtle" rel="alternate" title=""/>
  <link href="<%= rdf_url(@label.origin, :format => :rdf, :published => published_param, :lang => nil) %>" type="application/rdf+xml" rel="alternate" title=""/>
<% end -%>

<h2><%= @label.class.model_name.human %>:
  <%= @label.origin %>
  <%- if !@label.published? %>
    (<%= t('txt.common.unpublished_version') %>)
  <%- end -%>
</h2>

<div id="abstract_uri">
  <%= rdf_url(@label.origin, :format => nil, :published => published_param, :lang => nil) %>
  (<%= link_to "Turtle", rdf_url(@label.origin, :format => :ttl, :published => published_param, :lang => nil) %>,
  <%= link_to "RDF/XML", rdf_url(@label.origin, :format => :rdf, :published => published_param, :lang => nil) %>)
</div>

<%- if @label.expired_at -%>
  <h4><%= t('txt.views.concepts.expired_at', :date => l(@label.expired_at, :format => :long)) %></h4>
<%- end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
iqvoc_skosxl-1.2.3 app/views/labels/_show_head.html.erb
iqvoc_skosxl-1.2.2 app/views/labels/_show_head.html.erb
iqvoc_skosxl-1.2.1 app/views/labels/_show_head.html.erb
iqvoc_skosxl-1.2.0 app/views/labels/_show_head.html.erb
iqvoc_skosxl-1.1.4 app/views/labels/_show_head.html.erb