Sha256: a91ae7c96787761e7162faa0338dcac9104c9c7e10dfd7284e8f4a6adb4c6319

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module ContentBlocks
      class DatesMetadataCell < Decidim::ContentBlocks::ParticipatorySpaceMetadataCell
        private

        def metadata_items
          %w(creation_date created_by included_at closing_date)
        end

        def space_presenter
          AssemblyPresenter
        end

        def translations_scope
          "decidim.assemblies.assemblies.description"
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-assemblies-0.28.0 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.28.0.rc5 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.28.0.rc4 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb