docbrown/app/lib/constants/settings/community.rb
Michael Kohl 610f6151e6
Split Settings::Community from SiteConfig (#13403)
* Add settings_community_contents model

* Add settings_communities model

* Update usage

* Add controller and update code

* Add e2e test

* Add data update script

* Update schema.rb

* Fix specs

* PR feedback

* Remove experience_* from Settings::Community

* Update spec

* Fix spec
2021-04-26 10:46:35 +02:00

36 lines
1.3 KiB
Ruby

module Constants
module Settings
module Community
DETAILS = {
community_description: {
description: "Used in meta description tags etc.",
placeholder: "A fabulous community of kind and welcoming people."
},
community_emoji: {
description: "Used in the title tags across the site alongside the community name",
placeholder: ""
},
community_name: {
description: "Used as the primary name for your Forem, e.g. DEV, DEV Community, The DEV Community, etc.",
placeholder: "New Forem"
},
copyright_start_year: {
description: "Used to mark the year this forem was started.",
placeholder: Time.zone.today.year.to_s
},
member_label: {
description: "Used to determine what a member will be called e.g developer, hobbyist etc.",
placeholder: "user"
},
staff_user_id: {
description: "Account ID which acts as automated 'staff'— used principally for welcome thread.",
placeholder: ""
},
tagline: {
description: "Used in signup modal.",
placeholder: "We're a place where coders share, stay up-to-date and grow their careers."
}
}.freeze
end
end
end