trabajo-afectivo/db/migrate/20180306084119_custom_html_email_css_font.rb

24 lines
692 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class CustomHtmlEmailCssFont < ActiveRecord::Migration[5.1]
def change
# return if it's a new setup
return if !Setting.exists?(name: 'system_init_done')
Setting.create_if_not_exists(
title: 'HTML Email CSS Font',
name: 'html_email_css_font',
area: 'Core',
description: 'Defines the CSS font information for HTML Emails.',
options: {},
state: "font-family:'Helvetica Neue', Helvetica, Arial, Geneva, sans-serif; font-size: 12px;",
preferences: {
permission: ['admin'],
},
frontend: false
)
end
end