Sha256: 43f3c326a9f48a14e8394962ae04f5ec7790da018b23b11122011e0f42b4ac01
Contents?: true
Size: 825 Bytes
Versions: 6
Compression:
Stored size: 825 Bytes
Contents
<%= content_tag :div, :class => "relation translation panel", :lang => (defined?(concept) ? lang || nil : nil) do %> <% if defined?(concept) %> <% lang_translation = lang.nil? ? t("languages.none") : t("languages.#{lang}") %> <h2><%= klass.model_name.human(:count => 2) %> <small><%= lang_translation %></small></h2> <div class="relation-body"> <%= item_listing(concept.labels_for_labeling_class_and_language(klass, lang)) do |label| label.value end %> </div> <% elsif defined?(label) %> <h2><%= klass.model_name.human(:count => 2) %> <%= t("txt.common.of") %></h2> <div class="relation"> <%= item_listing(label.concepts_for_labeling_class(klass)) do |c| link_to(c.origin, concept_path(:id => c), :alt => c.pref_label) end %> </div> <% end %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems