Sha256: 6cb1d04ff6dab36d5db651d32913e335e79335c185a7db94a52884fd80d5728d

Contents?: true

Size: 463 Bytes

Versions: 13

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

require "cell/partial"

module Decidim
  module Sortitions
    # This cell renders a sortition with its L-size card.
    class SortitionLCell < Decidim::CardLCell
      include Decidim::Sortitions::Engine.routes.url_helpers

      private

      def has_author?
        false
      end

      def has_state?
        true
      end

      def metadata_cell
        "decidim/sortitions/sortition_metadata"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-sortitions-0.29.1 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.28.4 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.29.0 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.28.3 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.29.0.rc4 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.29.0.rc3 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.29.0.rc2 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.29.0.rc1 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.28.2 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.28.1 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.28.0 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.28.0.rc5 app/cells/decidim/sortitions/sortition_l_cell.rb
decidim-sortitions-0.28.0.rc4 app/cells/decidim/sortitions/sortition_l_cell.rb