Sha256: 1351e52376491177824ce8fee87d8148e5d0a452c40a5e6699535d088ddf09d7

Contents?: true

Size: 618 Bytes

Versions: 25

Compression:

Stored size: 618 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # Helper that provides methods to render the notifications settings form
  module NotificationsSettingsHelper
    def frequencies_collection
      {
        none: t("decidim.notifications_settings.show.notifications_sending_frequencies.none"),
        real_time: t("decidim.notifications_settings.show.notifications_sending_frequencies.real_time"),
        daily: t("decidim.notifications_settings.show.notifications_sending_frequencies.daily"),
        weekly: t("decidim.notifications_settings.show.notifications_sending_frequencies.weekly")
      }
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.28.4 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.27.9 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.29.0 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.28.3 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.27.8 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.29.0.rc4 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.29.0.rc3 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.29.0.rc2 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.29.0.rc1 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.28.2 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.27.7 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.28.1 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.27.6 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.28.0 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.27.5 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.28.0.rc5 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.28.0.rc4 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.27.4 app/helpers/decidim/notifications_settings_helper.rb
decidim-core-0.27.3 app/helpers/decidim/notifications_settings_helper.rb