Skip to content

Commit bc827cf

Browse files
author
rtucker-mozilla
authored
Merge pull request #648 from rtucker-mozilla/master
Attempting to make login required search text bold
2 parents d8db49e + 2418371 commit bc827cf

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/locales/en-US/strings.ftl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ search_toggle = Set who to search for
395395
.staff = Staff
396396
.contributors = Contributors
397397
search_result_orgchart = View {$username} in org chart
398-
search_error = An error occurred while trying to load the search results.<br /><strong>You must be logged in to search.</strong>
398+
search_error = An error occurred while trying to load the search results.
399+
search_error_login_required = You must be logged in to search.
399400
search_no-results = No results found for <strong>{$query}</strong>
400401
search_suggestions = Some suggestions include:
401402
.spelling = Make sure that all words are spelled correctly.

src/pages/PageSearchResult.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<h1 class="visually-hidden">{{ fluent('error') }}</h1>
2121
<h2>{{ fluent('error_404') }}</h2>
2222
<p>{{ fluent('search_error') }}</p>
23+
<p class="search-error-login-required">{{ fluent('search_error_login_required') }}</p>
2324
<p>
2425
<small>
2526
<Fluent
@@ -190,4 +191,7 @@ export default {
190191
.search-results__button-more > svg {
191192
margin-right: 0.5em;
192193
}
194+
.search-error-login-required {
195+
font-weight: bold;
196+
}
193197
</style>

0 commit comments

Comments
 (0)