Sha256: a4eff926167841cab5fc26ed7b97b7913c6de662724190baaedee144b578e93d

Contents?: true

Size: 268 Bytes

Versions: 25

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  ##
  # Exhibit and browse category mastheads
  class Masthead < Spotlight::FeaturedImage
    def display?
      display && iiif_url.present?
    end

    private

    def image_size
      [1800, 180]
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.9 app/models/spotlight/masthead.rb
blacklight-spotlight-3.0.0.alpha.8 app/models/spotlight/masthead.rb
blacklight-spotlight-3.0.0.alpha.7 app/models/spotlight/masthead.rb
blacklight-spotlight-3.0.0.alpha.6 app/models/spotlight/masthead.rb
blacklight-spotlight-3.0.0.alpha.5 app/models/spotlight/masthead.rb
blacklight-spotlight-3.0.0.alpha.4 app/models/spotlight/masthead.rb
blacklight-spotlight-3.0.0.alpha.3 app/models/spotlight/masthead.rb
blacklight-spotlight-3.0.0.alpha.2 app/models/spotlight/masthead.rb
blacklight-spotlight-3.0.0.alpha.1 app/models/spotlight/masthead.rb
blacklight-spotlight-2.13.0 app/models/spotlight/masthead.rb
blacklight-spotlight-2.12.1 app/models/spotlight/masthead.rb
blacklight-spotlight-2.12.0 app/models/spotlight/masthead.rb
blacklight-spotlight-2.11.0 app/models/spotlight/masthead.rb
blacklight-spotlight-2.10.0 app/models/spotlight/masthead.rb
blacklight-spotlight-2.9.0 app/models/spotlight/masthead.rb
blacklight-spotlight-2.8.0 app/models/spotlight/masthead.rb
blacklight-spotlight-2.7.2 app/models/spotlight/masthead.rb
blacklight-spotlight-2.7.1 app/models/spotlight/masthead.rb
blacklight-spotlight-2.7.0 app/models/spotlight/masthead.rb
blacklight-spotlight-2.6.1.1 app/models/spotlight/masthead.rb