diff options
-rw-r--r-- | templates/search/search.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/search/search.html b/templates/search/search.html index 8ac385e..2435107 100644 --- a/templates/search/search.html +++ b/templates/search/search.html @@ -26,8 +26,12 @@ for (idx=0 ; idx < geo_objects.length ; idx++){ </div> {% if page.has_previous or page.has_next %} <div id='search-nav'> - {% if page.has_previous %}<a href="#" onclick="haystack_search(this, {{ page.previous_page_number }});">{% trans "Previous" %}</a>{% endif %} - {% if page.has_next %}<a href="#" onclick="haystack_search(this, {{ page.next_page_number }});">{% trans "More results..." %}</a>{% endif %} + <nav> + <ul class="pager"> + {% if page.has_previous %}<li class="previous"><a href="#" onclick="haystack_search(this, {{ page.previous_page_number }});">← {% trans "Previous" %}</a></li>{% endif %} + {% if page.has_next %}<li class="next"><a href="#" onclick="haystack_search(this, {{ page.next_page_number }});">{% trans "More results..." %} →</a></li>{% endif %} + </ul> + </nav> </div> {% endif %} @@ -38,7 +42,7 @@ for (idx=0 ; idx < geo_objects.length ; idx++){ </form> <div id='search-result'></div> <script type='text/javascript'> -no_result_message = "{% trans 'No results found.' %}"; +no_result_message = "{% trans 'No exact match.' %}"; $(function(){ $('#haystack-search').click( function(evt){ |