Sha256: 33f1dea4dfd6266119c195157e671d5afd931e52fdbed7f77b7bd3946f8f4414

Contents?: true

Size: 280 Bytes

Versions: 38

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Elections
    # This cell renders the results
    # for a given instance of an Election
    class ElectionResultsCell < Decidim::ViewModel
      def show
        render if model.results_published?
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.27.9 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.28.3 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.27.8 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.28.2 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.27.7 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.28.1 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.27.6 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.26.10 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.26.9 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.28.0 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.27.5 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.28.0.rc5 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.28.0.rc4 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.26.8 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.27.4 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.27.3 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.26.7 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.26.5 app/cells/decidim/elections/election_results_cell.rb
decidim-elections-0.27.2 app/cells/decidim/elections/election_results_cell.rb