Sha256: 3c3eab4f2c8fa01a3ec31f7e07b9c5ab542d892c04542b0bef0abd14a6ff9cd7

Contents?: true

Size: 243 Bytes

Versions: 14

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true

module Arclight
  # Render the repository location card as a metadata field
  class RepositoryLocationComponent < Blacklight::MetadataFieldComponent
    def repository
      @field.values.first
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
arclight-1.4.0 app/components/arclight/repository_location_component.rb
arclight-1.3.0 app/components/arclight/repository_location_component.rb
arclight-1.2.0 app/components/arclight/repository_location_component.rb
arclight-1.1.3 app/components/arclight/repository_location_component.rb
arclight-1.1.2 app/components/arclight/repository_location_component.rb
arclight-1.1.1 app/components/arclight/repository_location_component.rb
arclight-1.1.0 app/components/arclight/repository_location_component.rb
arclight-1.0.1 app/components/arclight/repository_location_component.rb
arclight-1.0.0 app/components/arclight/repository_location_component.rb
arclight-1.0.0.beta6 app/components/arclight/repository_location_component.rb
arclight-1.0.0.beta4 app/components/arclight/repository_location_component.rb
arclight-1.0.0.beta3 app/components/arclight/repository_location_component.rb
arclight-1.0.0.beta2 app/components/arclight/repository_location_component.rb
arclight-1.0.0.beta1 app/components/arclight/repository_location_component.rb