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.23.3 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.23.2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.23.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.23.1.rc1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.23.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.22.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.21.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.20.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.20.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.19.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.18.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.19.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.17.2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.18.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.17.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.16.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.17.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.16.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.15.2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.15.1 app/cells/decidim/conferences/conference_cell.rb