Sha256: 137bb536a803ae298b040830b1d3a401458cadfe978edf3aa1f8590678688ee2

Contents?: true

Size: 1.69 KB

Versions: 55

Compression:

Stored size: 1.69 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_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

55 entries across 55 versions & 1 rubygems

Version Path
katello-3.15.3.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.3 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.1.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.0.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.0 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.0.rc2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.0.rc1.3 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.0.rc1.2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.0.rc1.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.15.0.rc1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.14.1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.13.4 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.14.0 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.13.3 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.14.0.rc2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.13.2 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.14.0.rc1 db/seeds.d/109-katello-notification-blueprints.rb
katello-3.13.1 db/seeds.d/109-katello-notification-blueprints.rb