Add registration_button_message
This commit is contained in:
parent
41b254af55
commit
39a2e1a1f6
5 changed files with 9 additions and 2 deletions
|
@ -14,6 +14,7 @@ class Form::AdminSettings
|
|||
site_terms
|
||||
registrations_mode
|
||||
closed_registrations_message
|
||||
registration_button_message
|
||||
timeline_preview
|
||||
bootstrap_timeline_accounts
|
||||
theme
|
||||
|
|
|
@ -24,5 +24,8 @@
|
|||
.fields-group
|
||||
= f.input :closed_registrations_message, as: :text, wrapper: :with_block_label, input_html: { rows: 2 }
|
||||
|
||||
.fields-group
|
||||
= f.input :registration_button_message, as: :text, kmyblue: true, hint: false, wrapper: :with_label, input_html: { rows: 2 }
|
||||
|
||||
.actions
|
||||
= f.button :button, t('generic.save_changes'), type: :submit
|
||||
|
|
|
@ -40,8 +40,9 @@
|
|||
.fields-group
|
||||
= f.input :agreement, as: :boolean, wrapper: :with_label, label: t('auth.privacy_policy_agreement_html', rules_path: about_more_path, privacy_policy_path: privacy_policy_path), required: true
|
||||
|
||||
- if Setting.registration_button_message.present?
|
||||
%div
|
||||
= t('auth.cloudflare_with_registering')
|
||||
= Setting.registration_button_message
|
||||
|
||||
.actions
|
||||
= f.button :button, @invite.present? ? t('auth.register') : sign_up_message, type: :submit
|
||||
|
|
|
@ -320,6 +320,7 @@ en:
|
|||
peers_api_enabled: Publish list of discovered servers in the API
|
||||
profile_directory: Enable profile directory
|
||||
receive_other_servers_emoji_reaction: Receive stamp between other server users
|
||||
registration_button_message: Register button message
|
||||
registrations_mode: Who can sign-up
|
||||
require_invite_text: Require a reason to join
|
||||
show_domain_blocks: Show domain blocks
|
||||
|
|
|
@ -335,6 +335,7 @@ ja:
|
|||
peers_api_enabled: 発見したサーバーのリストをAPIで公開する
|
||||
profile_directory: ディレクトリを有効にする
|
||||
receive_other_servers_emoji_reaction: 他のサーバーのユーザーが他のサーバーの投稿につけたスタンプを受け入れる
|
||||
registration_button_message: 新規登録ボタンの直上に表示するメッセージ
|
||||
registrations_mode: 新規登録が可能な人
|
||||
require_invite_text: 申請事由の入力を必須にする
|
||||
show_domain_blocks: ドメインブロックを表示
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue