Sha256: 66df421650d085c73e5025b47f21f3c6cd0d89b2970f67b8953df63d5233e15c

Contents?: true

Size: 574 Bytes

Versions: 10

Compression:

Stored size: 574 Bytes

Contents

<div class="relation panel" id="<%= klass.model_name.to_s.to_relation_name %>">
  <h2><%= klass.model_name.human(:count => 2) %></h2>
  <div class="relation-body">
    <%-
      items = klass.where(:target_id => concept.id).includes(:target).order("rank DESC")
      items = items.merge(Iqvoc::Concept.base_class.published).references(:concepts) if params[:published] != "0"
    -%>
    <%= item_listing(items) do |rel|
      link_to("#{rel.owner.pref_label} (#{rel.rank})", concept_path(:lang => rel.owner.pref_label.language, :id => rel.owner))
    end %>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
iqvoc-4.8.2 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.8.1 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.8.0 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.7.0 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.6.1 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.5.2 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.6.0 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.5.1 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.5.0 app/views/partials/concept/relation/_ranked.html.erb
iqvoc-4.4.0 app/views/partials/concept/relation/_ranked.html.erb