diff --git a/common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee b/common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee index d9ab6515dc..8ef910a17e 100644 --- a/common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee +++ b/common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee @@ -460,7 +460,12 @@ if Backbone? @collection.current_page = response.page @collection.pages = response.num_pages if !_.isNull response.corrected_text - @addSearchAlert('Showing results for "' + response.corrected_text + '"'); + message = interpolate( + _.escape(gettext('No results found for %(original_query)s. Showing results for %(suggested_query)s.')), + {"original_query": "" + _.escape(text) + "", "suggested_query": "" + response.corrected_text + ""}, + true + ) + @addSearchAlert(message) # TODO: Perhaps reload user info so that votes can be updated. # In the future we might not load all of a user's votes at once # so this would probably be necessary anyway diff --git a/lms/static/sass/discussion/_discussion-developer.scss b/lms/static/sass/discussion/_discussion-developer.scss index 6cae0aab31..ac2e16dd3d 100644 --- a/lms/static/sass/discussion/_discussion-developer.scss +++ b/lms/static/sass/discussion/_discussion-developer.scss @@ -45,8 +45,12 @@ body.discussion { // alert copy .message { @include font-size(12); - @extend %t-weight5; color: $white; + + em { + @extend %t-weight5; + font-style: italic; + } } // links to jump to users/content in alerts diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html index fbe0b4c422..32335bf832 100644 --- a/lms/templates/discussion/_underscore_templates.html +++ b/lms/templates/discussion/_underscore_templates.html @@ -311,7 +311,7 @@