diff --git a/helios/templates/stats_elections.html b/helios/templates/stats_elections.html index 24f5c145084c41ad4325a06f3fa277710f644f43..7179698334bbaecfc80f458b9b5061d560ddd9ea 100644 --- a/helios/templates/stats_elections.html +++ b/helios/templates/stats_elections.html @@ -14,13 +14,13 @@ <p> {% if elections_page.has_previous %} -<a href="?page={{elections_page.previous_page_number}}&limit={{limit}}&q={{q}}">previous {{limit}}</a> +<a href="?page={{elections_page.previous_page_number}}&limit={{limit}}&q={{q|urlencode}}">previous {{limit}}</a> {% endif %} -Elections {{elections_page.start_index}} - {{elections_page.end_index}} +Elections {{elections_page.start_index}} - {{elections_page.end_index}} (of {{total_elections}}) {% if elections_page.has_next %} -<a href="?page={{elections_page.next_page_number}}&limit={{limit}}&q={{q}}">next {{limit}}</a> +<a href="?page={{elections_page.next_page_number}}&limit={{limit}}&q={{q|urlencode}}">next {{limit}}</a> {% endif %} </p>