docbrown/app/lib/constants/settings/community.rb
Julianna Tetreault de4acd4fa5
Remove Community Emoji from Admin Config 🌱 (#16902)
* Removes all community_emoji-related code

* Removes community_emoji-related specs from codebase

* Updates communitySection.spec.js to test for member_label

* chore: merge conflicts

* feat: remove data update script

* chore: add file back

Co-authored-by: Ridhwana <ridhwana.khan16@gmail.com>
2022-08-30 17:16:58 +02:00

34 lines
1.3 KiB
Ruby

module Constants
module Settings
module Community
def self.details
{
community_description: {
description: I18n.t("lib.constants.settings.community.description.description"),
placeholder: I18n.t("lib.constants.settings.community.description.placeholder")
},
community_name: {
description: I18n.t("lib.constants.settings.community.name.description"),
placeholder: I18n.t("lib.constants.settings.community.name.placeholder")
},
copyright_start_year: {
description: I18n.t("lib.constants.settings.community.copyright.description"),
placeholder: Time.zone.today.year.to_s
},
member_label: {
description: I18n.t("lib.constants.settings.community.member.description"),
placeholder: I18n.t("lib.constants.settings.community.member.placeholder")
},
staff_user_id: {
description: I18n.t("lib.constants.settings.community.staff.description"),
placeholder: ""
},
tagline: {
description: I18n.t("lib.constants.settings.community.tagline.description"),
placeholder: I18n.t("lib.constants.settings.community.tagline.placeholder")
}
}
end
end
end
end