diff --git a/app/assets/javascripts/discourse/controllers/search-help.js.es6 b/app/assets/javascripts/discourse/controllers/search-help.js.es6 index 821c431af65..c62a9db6c00 100644 --- a/app/assets/javascripts/discourse/controllers/search-help.js.es6 +++ b/app/assets/javascripts/discourse/controllers/search-help.js.es6 @@ -3,5 +3,9 @@ import ModalFunctionality from 'discourse/mixins/modal-functionality'; import DiscourseController from 'discourse/controllers/controller'; export default DiscourseController.extend(ModalFunctionality, { - needs: ['modal'] + needs: ['modal'], + + showGoogleSearch: function() { + return !Discourse.SiteSettings.login_required; + }.property() }); diff --git a/app/assets/javascripts/discourse/templates/modal/search_help.hbs b/app/assets/javascripts/discourse/templates/modal/search_help.hbs index ace1db3e6db..5a9bf72d986 100644 --- a/app/assets/javascripts/discourse/templates/modal/search_help.hbs +++ b/app/assets/javascripts/discourse/templates/modal/search_help.hbs @@ -1,3 +1,6 @@
+
+ diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 8b0a2ac1a4d..4706a307191 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -2152,11 +2152,3 @@ en:
rainbows category:parks status:open order:latest
will search for topics containing the word "rainbows" in the category "parks" that are not closed or archived, ordered by date of last post.
-
-