diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 21:48:05 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 21:48:41 -0800 |
commit | 8a79253a14a517b0f96d6972337b843b8578f596 (patch) | |
tree | 47502268e6f4ece11f0deec93f8d4d3856c17752 /fatcat_scholar/templates | |
parent | ee5901b25869763e3c30b495b03fe4b286edd6da (diff) | |
download | fatcat-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.html | 8 |
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>« {% trans %}Previous{% endtrans %}</a> + <a>{% trans %}« Previous{% endtrans %}</a> </button> {% else %} - <span style="color:rgba(0,0,0,0.55); float: left">« {% trans %}Previous{% endtrans %}</span> + <span style="color:rgba(0,0,0,0.55); float: left">{% trans %}« 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 %} »</a> + <a>{% trans %}Next »{% endtrans %}</a> </button> {% else %} - <span style="color:rgba(0,0,0,0.55); float: right;">{% trans %}Next{% endtrans %} »</span> + <span style="color:rgba(0,0,0,0.55); float: right;">{% trans %}Next »{% endtrans %}</span> {% endif %} <i> |