Sha256: 832683ff72df53d345f9249aa54fa58cc44fd2eaf179d41519eb9eb7a55d360e

Contents?: true

Size: 1.91 KB

Versions: 13

Compression:

Stored size: 1.91 KB

Contents

blueprints = [
  {
    group: N_('Proxies'),
    name: 'pulp_low_disk_space',
    message: _("%{subject}'s disk is %{percentage} full. Since this proxy is running Pulp, it needs disk space to publish content views. Please ensure the disk does not get full."),
    level: 'warning',
    actions:
    {
      links:
      [
        path_method: :smart_proxy_path,
        title: N_('Details')
      ]
    }
  },
  {
    group: N_('Subscriptions'),
    name: 'subs_expire_soon',
    message: N_('%{expiring_subs} subscriptions in %{subject} are going to expire in less than %{days} days. Please renew them before they expire to guarantee your hosts will continue receiving content.'),
    level: 'warning'
  },
  {
    group: N_('Subscriptions'),
    name: 'manifest_expired_warning',
    message: N_('The manifest imported within Organization %{subject} is no longer valid. Please import a new manifest.'),
    level: 'warning'
  },
  {
    group: N_('Subscriptions'),
    name: 'manifest_import_success',
    message: N_('Manifest in \'%{subject}\' imported.'),
    level: 'info'
  },
  {
    group: N_('Subscriptions'),
    name: 'manifest_import_error',
    message: N_('Importing manifest into \'%{subject}\' failed.'),
    level: 'error'
  },
  {
    group: N_('Subscriptions'),
    name: 'manifest_refresh_success',
    message: N_('Manifest in \'%{subject}\' refreshed.'),
    level: 'info'
  },
  {
    group: N_('Subscriptions'),
    name: 'manifest_refresh_error',
    message: N_('Manifest in \'%{subject}\' failed to refresh.'),
    level: 'error'
  },
  {
    group: N_('Subscriptions'),
    name: 'manifest_delete_success',
    message: N_('Manifest in \'%{subject}\' deleted.'),
    level: 'info'
  },
  {
    group: N_('Subscriptions'),
    name: 'manifest_delete_error',
    message: N_('Deleting manifest in \'%{subject}\' failed.'),
    level: 'error'
  }
]

blueprints.each { |blueprint| UINotifications::Seed.new(blueprint).configure }

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
katello-3.16.2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.17.0.rc2.2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.17.0.rc2.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.16.1.2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.16.1.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.17.0.rc2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.16.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.17.0.rc1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.16.0 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.16.0.rc5.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.16.0.rc5 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.16.0.rc4.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.16.0.rc4 db/seeds.d/109-katello-notification-blueprints.rb