20180306084119_custom_html_email_css_font.rb 692 B

1234567891011121314151617181920212223
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. class CustomHtmlEmailCssFont < ActiveRecord::Migration[5.1]
  3. def change
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. Setting.create_if_not_exists(
  7. title: 'HTML Email CSS Font',
  8. name: 'html_email_css_font',
  9. area: 'Core',
  10. description: 'Defines the CSS font information for HTML Emails.',
  11. options: {},
  12. state: "font-family:'Helvetica Neue', Helvetica, Arial, Geneva, sans-serif; font-size: 12px;",
  13. preferences: {
  14. permission: ['admin'],
  15. },
  16. frontend: false
  17. )
  18. end
  19. end