Sha256: fbb53c64c73ad56d5e2daaa54c1f4658be7f832a969fc37f74b460630c0e3791

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

# Configuration module
#
# Recompile if the settings change
# = depend_on_config
angular.module('mnoEnterprise.configuration', [])
  .constant('IMPAC_CONFIG', <%= Settings.impac.to_json %>)
  .constant('I18N_CONFIG', {
    enabled: <%= MnoEnterprise.i18n_enabled %>,
    available_locales: <%= I18n.available_locales.to_json %>
  })
  .constant('PRICING_CONFIG', <%= Hash(Settings.pricing).to_json %>)
  .constant('DOCK_CONFIG', <%= Hash(Settings.dock).to_json %>)
  .constant('DEVELOPER_SECTION_CONFIG', <%= Hash(Settings.developer).to_json %>)
  .constant('ONBOARDING_WIZARD_CONFIG', <%= Hash(Settings.onboarding_wizard).to_json %>)
  .constant('REVIEWS_CONFIG', <%= Hash(Settings.reviews).to_json %>)
  .constant('QUESTIONS_CONFIG', <%= Hash(Settings.questions).to_json %>)
  .constant('MARKETPLACE_CONFIG', <%= Hash(Settings.marketplace).to_json %>)
  .constant('ADMIN_PANEL_CONFIG', <%= Hash(Settings.admin_panel).to_json %>)
  .constant('PAYMENT_CONFIG', <%= Hash(Settings.payment).to_json %>)
  .constant('ORGANIZATION_MANAGEMENT', <%= Hash(Settings.organization_management).to_json %>)
  .constant('USER_MANAGEMENT', <%= Hash(Settings.user_management).to_json %>)
  .constant('AUDIT_LOG', <%= Hash(Settings.audit_log).to_json %>)
  .constant('GOOGLE_TAG_CONTAINER_ID', <%= MnoEnterprise.google_tag_container.to_json %>)
  .constant('INTERCOM_ID', <%= MnoEnterprise.intercom_app_id.to_json %>)
  .constant('APP_NAME', <%= MnoEnterprise.app_name.to_json %>)
  .constant('URL_CONFIG', <%= Hash(Settings.url_config).to_json %>)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mno-enterprise-api-3.3.1 app/assets/javascripts/mno_enterprise/config.js.coffee.erb
mno-enterprise-api-3.3.0 app/assets/javascripts/mno_enterprise/config.js.coffee.erb