aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-25 21:48:05 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-25 21:48:41 -0800
commit8a79253a14a517b0f96d6972337b843b8578f596 (patch)
tree47502268e6f4ece11f0deec93f8d4d3856c17752 /fatcat_scholar/templates
parentee5901b25869763e3c30b495b03fe4b286edd6da (diff)
downloadfatcat-scholar-8a79253a14a517b0f96d6972337b843b8578f596.tar.gz
fatcat-scholar-8a79253a14a517b0f96d6972337b843b8578f596.zip
html: update next/prev links to used named HTML entities
Also, include the entities in the translation string (for clarify and RTL translation).
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r--fatcat_scholar/templates/search_macros.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index 613feac..db46d5f 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -490,18 +490,18 @@
{% macro search_pagination(hits, top) %}
{% if hits.offset > 0 %}
<button class="text-button" form="search_form" type="submit" name="offset" value="{{ hits.offset - hits.limit }}" style="float: left;" rel="prev">
- <a>&#xab; {% trans %}Previous{% endtrans %}</a>
+ <a>{% trans %}&laquo; Previous{% endtrans %}</a>
</button>
{% else %}
- <span style="color:rgba(0,0,0,0.55); float: left">&#xab; {% trans %}Previous{% endtrans %}</span>
+ <span style="color:rgba(0,0,0,0.55); float: left">{% trans %}&laquo; Previous{% endtrans %}</span>
{% endif %}
{% if hits.offset + hits.limit < hits.count_found %}
<button class="text-button" form="search_form" type="submit" name="offset" value="{{ hits.offset + hits.limit }}" style="float: right;" rel="next">
- <a>{% trans %}Next{% endtrans %} &#xbb;</a>
+ <a>{% trans %}Next &raquo;{% endtrans %}</a>
</button>
{% else %}
- <span style="color:rgba(0,0,0,0.55); float: right;">{% trans %}Next{% endtrans %} &#xbb;</span>
+ <span style="color:rgba(0,0,0,0.55); float: right;">{% trans %}Next &raquo;{% endtrans %}</span>
{% endif %}
<i>