Sha256: acdd53ddf017bc059439cbf909c36347da7f866682a16bbebc87d5ead13574fd
Contents?: true
Size: 472 Bytes
Versions: 5
Compression:
Stored size: 472 Bytes
Contents
module IqvocSkosxlHelper def iqvoc_skosxl_default_rdf_namespaces { } end def render_label(label) if label.new_record? "-" elsif label.is_a?(Label::SKOSXL::Base) link_to(label.to_s, label_path(:id => label)) else label.to_s end end def search_result_label(label, concept) str = ActiveSupport::SafeBuffer.new str << label str << " (#{concept.additional_info})" if concept.additional_info str end end
Version data entries
5 entries across 5 versions & 1 rubygems