Sha256: 0f75cee55c1663acd0f9d1531f5adf4bc43562b94713a609f98c3df2cef54183

Contents?: true

Size: 1.3 KB

Versions: 23

Compression:

Stored size: 1.3 KB

Contents

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

<h2>
  <%= Iqvoc::Concept.base_class.model_name.human %>:
  <%= @concept.pref_label.to_s %>
  <%- unless @concept.published? %>
    (<%= t('txt.common.unpublished_version') %>)
  <%- end -%>
</h2>
<div id="abstract_uri">
  <%= render :partial => "partials/rdf_logo" %>
  <%= rdf_url(@concept.origin, :format => nil, :published => published_param, :lang => nil) %>
  (<%= link_to "Turtle", rdf_url(@concept.origin, :format => :ttl, :published => published_param, :lang => nil) %>,
  <%= link_to "RDF/XML", rdf_url(@concept.origin, :format => :rdf, :published => published_param, :lang => nil) %>)
</div>
<%- if @concept.expired_at -%>
  <h4><%= t('txt.views.concepts.expired_at', :date => l(@concept.expired_at, :format => :long)) %></h4>
<%- end -%>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
iqvoc-3.2.11 app/views/concepts/_show_head.html.erb
iqvoc-3.2.10 app/views/concepts/_show_head.html.erb
iqvoc-3.2.9 app/views/concepts/_show_head.html.erb
iqvoc-3.2.8 app/views/concepts/_show_head.html.erb
iqvoc-3.5.7 app/views/concepts/_show_head.html.erb
iqvoc-3.5.6 app/views/concepts/_show_head.html.erb
iqvoc-3.5.5 app/views/concepts/_show_head.html.erb
iqvoc-3.5.4 app/views/concepts/_show_head.html.erb
iqvoc-3.2.7 app/views/concepts/_show_head.html.erb
iqvoc-3.5.3 app/views/concepts/_show_head.html.erb
iqvoc-3.5.2 app/views/concepts/_show_head.html.erb
iqvoc-3.5.1 app/views/concepts/_show_head.html.erb
iqvoc-3.5.0 app/views/concepts/_show_head.html.erb
iqvoc-3.4.0 app/views/concepts/_show_head.html.erb
iqvoc-3.3.4 app/views/concepts/_show_head.html.erb
iqvoc-3.3.3 app/views/concepts/_show_head.html.erb
iqvoc-3.3.2 app/views/concepts/_show_head.html.erb
iqvoc-3.3.1 app/views/concepts/_show_head.html.erb
iqvoc-3.3.0 app/views/concepts/_show_head.html.erb
iqvoc-3.2.6 app/views/concepts/_show_head.html.erb