Ticket #11695: change_list.diff

File change_list.diff, 630 bytes (added by Joshua Russo, 15 years ago)

From \contrib\admin\templates\admin - Added the Reset button

  • change_list.html

     
    4141    {% block object-tools %}
    4242      {% if has_add_permission %}
    4343        <ul class="object-tools">
     44          <li><a href=".">{% trans 'Reset sorting' %}{% if cl.has_filters or cl.date_hierarchy %}{% trans ' and filters' %}{% endif %}</a></li>
    4445          <li>
    4546            <a href="add/{% if is_popup %}?_popup=1{% endif %}" class="addlink">
    4647              {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
Back to Top