Sha256: 2cd1df888e24715944ff95f00980072226b46bdbaf5414b9a98e9d76606c5bd7

Contents?: true

Size: 387 Bytes

Versions: 6

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    # This cell renders the Statistics of an Assembly
    class StatisticsCell < Decidim::ViewModel
      private

      def stats_heading
        t("statistics.headline", scope: "decidim.assemblies")
      end

      def no_stats
        t("statistics.no_stats", scope: "decidim.assemblies")
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-assemblies-0.24.3 app/cells/decidim/assemblies/statistics_cell.rb
decidim-assemblies-0.24.2 app/cells/decidim/assemblies/statistics_cell.rb
decidim-assemblies-0.24.1 app/cells/decidim/assemblies/statistics_cell.rb
decidim-assemblies-0.24.0 app/cells/decidim/assemblies/statistics_cell.rb
decidim-assemblies-0.24.0.rc2 app/cells/decidim/assemblies/statistics_cell.rb
decidim-assemblies-0.24.0.rc1 app/cells/decidim/assemblies/statistics_cell.rb