mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:39:53 +01:00
Add noindex setting to privacy settings view
This commit is contained in:
parent
2367bb3139
commit
f8e43a9bb0
3 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,8 @@ class Settings::PrivacyController < ApplicationController
|
|||
:privacy_allow_public_timeline,
|
||||
:privacy_allow_stranger_answers,
|
||||
:privacy_show_in_search,
|
||||
:privacy_require_user)
|
||||
:privacy_require_user,
|
||||
:privacy_noindex)
|
||||
if current_user.update(user_attributes)
|
||||
flash[:success] = t(".success")
|
||||
else
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
= f.check_box :privacy_require_user
|
||||
= f.check_box :privacy_allow_public_timeline
|
||||
= f.check_box :privacy_allow_stranger_answers
|
||||
= f.check_box :privacy_noindex
|
||||
|
||||
= f.primary
|
||||
|
||||
|
|
|
@ -72,6 +72,7 @@ en:
|
|||
privacy_require_user: "Require users to be logged in to ask you questions"
|
||||
privacy_allow_public_timeline: "Show your answers in the public timeline"
|
||||
privacy_allow_stranger_answers: "Allow other people to answer your questions"
|
||||
privacy_noindex: "Prevent search engines from indexing your profile"
|
||||
profile_picture: "Profile picture"
|
||||
profile_header: "Profile header"
|
||||
sign_in_count: "Sign in count"
|
||||
|
|
Loading…
Reference in a new issue