mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-14 02:42:54 +00:00
bfdcf76a64
* Allow staff badge to change from setting to hidden * i18n: Update Polish translation
34 lines
739 B
Ruby
34 lines
739 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Form::AdminSettings
|
|
include ActiveModel::Model
|
|
|
|
delegate(
|
|
:site_contact_username,
|
|
:site_contact_username=,
|
|
:site_contact_email,
|
|
:site_contact_email=,
|
|
:site_title,
|
|
:site_title=,
|
|
:site_description,
|
|
:site_description=,
|
|
:site_extended_description,
|
|
:site_extended_description=,
|
|
:site_terms,
|
|
:site_terms=,
|
|
:open_registrations,
|
|
:open_registrations=,
|
|
:closed_registrations_message,
|
|
:closed_registrations_message=,
|
|
:open_deletion,
|
|
:open_deletion=,
|
|
:timeline_preview,
|
|
:timeline_preview=,
|
|
:show_staff_badge,
|
|
:show_staff_badge=,
|
|
:bootstrap_timeline_accounts,
|
|
:bootstrap_timeline_accounts=,
|
|
to: Setting
|
|
)
|
|
end
|