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.26.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.0.rc2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.26.0.rc1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.25.2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.25.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.25.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.25.0.rc4 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.25.0.rc3 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.25.0.rc2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.25.0.rc1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.24.3 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.23.6 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.24.2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.23.5 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.24.1 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.24.0 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.24.0.rc2 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.23.4 app/cells/decidim/conferences/conference_cell.rb
decidim-conferences-0.24.0.rc1 app/cells/decidim/conferences/conference_cell.rb