Remove pagination images and replace them with unicode characters
authorJef van Schendel <mail@jefvanschendel.nl>
Sat, 10 Dec 2011 18:58:02 +0000 (19:58 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Sat, 10 Dec 2011 18:58:02 +0000 (19:58 +0100)
mediagoblin/static/images/pagination_left.png [deleted file]
mediagoblin/static/images/pagination_right.png [deleted file]
mediagoblin/templates/mediagoblin/utils/pagination.html

diff --git a/mediagoblin/static/images/pagination_left.png b/mediagoblin/static/images/pagination_left.png
deleted file mode 100644 (file)
index 56a2659..0000000
Binary files a/mediagoblin/static/images/pagination_left.png and /dev/null differ
diff --git a/mediagoblin/static/images/pagination_right.png b/mediagoblin/static/images/pagination_right.png
deleted file mode 100644 (file)
index 84f8abb..0000000
Binary files a/mediagoblin/static/images/pagination_right.png and /dev/null differ
index 3c12f93c8c8c80ded7e242763d208e6e53cd62e2..caa79fccece5104ef1d4256e9068e09b5ff3f05a 100644 (file)
           {% set prev_url = pagination.get_page_url_explicit(
                    base_url, get_params,
                    pagination.page - 1) %}
-          <a href="{{ prev_url }}"><img class="pagination_arrow" src="{{ request.staticdirect('/images/pagination_left.png') }}" alt="Previous page" /></a>
-          <a href="{{ prev_url }}">{% trans %}Newer{% endtrans %}</a>
+          <a href="{{ prev_url }}">{% trans %}← Newer{% endtrans %}</a>
         {% endif %}
         {% if pagination.has_next %}
           {% set next_url = pagination.get_page_url_explicit(
                    base_url, get_params,
                    pagination.page + 1) %}
-          <a href="{{ next_url }}">{% trans %}Older{% endtrans %}</a>
-          <a href="{{ next_url }}"><img class="pagination_arrow" src="{{ request.staticdirect('/images/pagination_right.png') }}" alt="Next page" /></a>
+          <a href="{{ next_url }}">{% trans %}Older →{% endtrans %}</a>
         {% endif %}
         <br />
         {% trans %}Go to page:{% endtrans %}