Skip to content

Commit

Permalink
Update search page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jan 10, 2024
1 parent 32a04c5 commit 82656d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/templates/search/catalogue.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- from 'macros/feedback.html' import feedback -%}
{%- from 'search/elements/sort-view.html' import sortView -%}

{% block pageTitle %}{% if results %}{{ results.count }} results - {% endif %}{{ super() }}{% endblock %}
{% block pageTitle %}{% if results %}{{ results.count | pretty_number }} results{% if query %} for "{{ query }}"{% endif %} - {% endif %}{{ super() }}{% endblock %}

{% block skipLink %}
{{ tnaSkipLink({
Expand Down
2 changes: 1 addition & 1 deletion app/templates/search/website.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{%- from 'macros/feedback.html' import feedback -%}
{%- from 'search/elements/sort-view.html' import sortView -%}

{% block pageTitle %}{% if results %}{{ results.count }} results - {% endif %}{{ super() }}{% endblock %}
{% block pageTitle %}{% if results %}{{ results.count | pretty_number }} results{% if query %} for "{{ query }}"{% endif %} - {% endif %}{{ super() }}{% endblock %}

{% block content %}
{% set show_tabs = True %}
Expand Down

0 comments on commit 82656d1

Please sign in to comment.