Sha256: 822b5137bbe9e8962e45fd97e222321fa0822b5d9b27d115308cc927279d4c41

Contents?: true

Size: 466 Bytes

Versions: 7

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Votings
    module ContentBlocks
      # VotingsMetricChartsPresenter is not implemented yet. This cell will not
      # display anything if metrics method is blank
      class MetricsCell < Decidim::ContentBlocks::ParticipatorySpaceMetricsCell
        def metrics
          nil

          # @metrics ||= VotingsMetricChartsPresenter.new(participatory_process: resource)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/cells/decidim/votings/content_blocks/metrics_cell.rb
decidim-elections-0.28.3 app/cells/decidim/votings/content_blocks/metrics_cell.rb
decidim-elections-0.28.2 app/cells/decidim/votings/content_blocks/metrics_cell.rb
decidim-elections-0.28.1 app/cells/decidim/votings/content_blocks/metrics_cell.rb
decidim-elections-0.28.0 app/cells/decidim/votings/content_blocks/metrics_cell.rb
decidim-elections-0.28.0.rc5 app/cells/decidim/votings/content_blocks/metrics_cell.rb
decidim-elections-0.28.0.rc4 app/cells/decidim/votings/content_blocks/metrics_cell.rb