UX: better help text for private invite-only instance
This commit is contained in:
parent
49593d1a00
commit
93eb0a0690
|
@ -1,5 +1,5 @@
|
||||||
<% if SiteSetting.login_required %>
|
<% if SiteSetting.login_required %>
|
||||||
<div class='login-required'>
|
<div class='login-required'>
|
||||||
<%= PrettyText.cook(I18n.t('login_required.welcome_message', title: SiteSetting.title)).html_safe %>
|
<%= PrettyText.cook(I18n.t("login_required.#{SiteSetting.invite_only? ? "welcome_message_invite_only" : "welcome_message"}", title: SiteSetting.title)).html_safe %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -3347,6 +3347,9 @@ en:
|
||||||
welcome_message: |
|
welcome_message: |
|
||||||
## [Welcome to %{title}](#welcome)
|
## [Welcome to %{title}](#welcome)
|
||||||
An account is required. Please create an account or log in to continue.
|
An account is required. Please create an account or log in to continue.
|
||||||
|
welcome_message_invite_only: |
|
||||||
|
## [Welcome to %{title}](#welcome)
|
||||||
|
An account is required. Please ask an existing member for an invite or log in to continue.
|
||||||
|
|
||||||
terms_of_service:
|
terms_of_service:
|
||||||
title: "Terms of Service"
|
title: "Terms of Service"
|
||||||
|
|
Loading…
Reference in New Issue