Sha256: a2c1af17989308633645fbf9414b8ddc99485bc5d8eb999497839f46b9f5dce9

Contents?: true

Size: 667 Bytes

Versions: 50

Compression:

Stored size: 667 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    # Custom helpers, scoped to the admin panel.
    #
    module ApplicationHelper
      include Decidim::LocalizedLocalesHelper
      include Decidim::TranslationsHelper
      include Decidim::HumanizeBooleansHelper
      include Decidim::AriaSelectedLinkToHelper
      include Decidim::MetaTagsHelper
      include Decidim::MapHelper

      def title
        current_organization.name
      end

      def foundation_datepicker_locale_tag
        if I18n.locale != :en
          javascript_include_tag "datepicker-locales/foundation-datepicker.#{I18n.locale}.js"
        end
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
decidim-admin-0.8.4 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.8.3 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.8.2 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.8.1 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.8.0 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.7.4 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.7.3 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.7.2 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.7.1 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.7.0 app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.6.8 app/helpers/decidim/admin/application_helper.rb
decidim-0.6.8 decidim-admin/app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.6.7 app/helpers/decidim/admin/application_helper.rb
decidim-0.6.7 decidim-admin/app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.6.6 app/helpers/decidim/admin/application_helper.rb
decidim-0.6.6 decidim-admin/app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.6.5 app/helpers/decidim/admin/application_helper.rb
decidim-0.6.5 decidim-admin/app/helpers/decidim/admin/application_helper.rb
decidim-admin-0.6.4 app/helpers/decidim/admin/application_helper.rb
decidim-0.6.4 decidim-admin/app/helpers/decidim/admin/application_helper.rb