app/presenters/hyku/manifest_enabled_work_show_presenter.rb
# IIIF metadata for inclusion in the manifest
#
# @return [Array] array of metadata hashes
IIIF metadata for inclusion in the manifest
IIIF metadata for inclusion in the manifest
def manifest_metadata
      metadata = []
      (metadata_fields-[:format]).each do |field|
        unless field == :description 
          metadata << {
            'label' => field.to_s.humanize.capitalize,
            'value' => get_metadata_value(field)
          }
        end
      end
      metadata
    end
def manifest_metadata metadata = [ ] ( metadata_fields - [ :format ] ) . each do | field | unless field == :description metadata << { 'label' => field . to_s . humanize . capitalize , 'value' => get_metadata_value ( field ) } end end metadata end
IIIF metadata for inclusion in the manifest
IIIF metadata for inclusion in the manifest
# Prevents duplicate description in UV
array of metadata hashes
array of metadata hashes
Array