thirdparty/google_appengine/google/appengine/ext/admin/templates/pager.html
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 12 Feb 2009 00:04:32 +0000
changeset 1276 7f460f46a611
parent 109 620f9b141567
permissions -rw-r--r--
Initial implementation of a ToS requirement in org_app If the _editContext method can be made generic enough, it should be easy to add ToSes to other forms. This solution should also be applied to user_self, as the current implementation is not very clean to say the least. Patch By: Sverre Rabbelier

{% ifnotequal prev_start -1 %}<a href="{{ start_base_url }}&amp;start={{ prev_start }}">&lsaquo; Previous</a>{% endifnotequal %}
&nbsp;
{% for page in pages %}
  <a {% ifequal page.number current_page %} class="ae-page-selected ae-page-number" {% endifequal %}
    href="{{ start_base_url }}&amp;start={{ page.start }}">{{ page.number }}</a> 
{% endfor %}
&nbsp; 
{% ifnotequal next_start -1 %}<a href="{{ start_base_url }}&amp;start={{ next_start }}">Next &rsaquo;</a>{% endifnotequal %}