Sha256: ff27c78d7d3a6bab8bcd4e29a8af5af45c4a59ef367e791c07d651e300fd4f5d

Contents?: true

Size: 399 Bytes

Versions: 60

Compression:

Stored size: 399 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    # This cell renders the conference card for an instance of an Conference
    # the default size is the Medium Card (:m)
    class ConferenceCell < Decidim::ViewModel
      def show
        cell card_size, model
      end

      private

      def card_size
        "decidim/conferences/conference_m"
      end
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
decidim-conferences-0.27.9 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.8 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.7 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.6 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.10 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.9 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.5 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.8 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.4 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.3 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.7 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.5 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.4 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.3 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.0.rc2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.27.0.rc1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.2 app/cells/decidim/conferences/conference_cell.rb