Sha256: c498b2773771b03c42239cd4a250363067f7a2cf3a5aa3be98182eeed102a8ff

Contents?: true

Size: 514 Bytes

Versions: 10

Compression:

Stored size: 514 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
          Decidim::Assemblies::AssemblyPresenter
        end

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-assemblies-0.29.1 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.28.4 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.29.0 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.28.3 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.29.0.rc4 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.29.0.rc3 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.29.0.rc2 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.29.0.rc1 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.28.2 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb
decidim-assemblies-0.28.1 app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb