Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSP-121 Campingshop: issue with displaying the number of results from a search v3 #81

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Resources/snippet/de_DE/storefront.de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
"value": "Nosto Cookies",
"description": "Ermöglicht die Identifizierung des Benutzers, wenn er nicht angemeldet ist!"
}
},
"search": {
"headlineText": "%count% Suchergebnisse für \"%searchTerm%\" "
}
}
3 changes: 3 additions & 0 deletions src/Resources/snippet/en_GB/storefront.en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
"value": "Nosto Cookies",
"description": "Allow to identify the user when not logged in!"
}
},
"search": {
"headlineText": "%count% Search results for \"%searchTerm%\" "
}
}
2 changes: 1 addition & 1 deletion src/Resources/views/storefront/page/search/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
: page.listing.criteria.extensions.nostoPagination.total
%}
{% if hits %}
{{ "search.headline"|trans({
{{ "search.headlineText"|trans({
'%count%': hits,
'%searchTerm%': page.searchTerm,
}) }}
Expand Down
Loading