wip: Webmail big refactoring and performance improvment

* some issues with drag&drop and mailboxes list were fixed
* the pagination feature was fixed
This commit is contained in:
Antoine Nguyen
2011-11-18 17:46:26 +01:00
parent 0aace4e521
commit 132b3a7637
6 changed files with 69 additions and 35 deletions
+4 -4
View File
@@ -2,18 +2,18 @@
<label>{% trans "Messages" %} {{ page.id_start }} {% trans "to" %} {{ page.id_stop }} {% trans "of" %} {{ page.items }}</label>
{% if page.previous_page %}
<a href="{{ page.baseurl }}?page=1">
<a href="{{ page.baseurl }}page=1">
<img src="{{ MEDIA_URL }}pics/first.png" border="0" title="{% trans "First" %}" />
</a>
<a href="{{ page.baseurl }}?page={{ page.previous_page }}">
<a href="{{ page.baseurl }}page={{ page.previous_page }}">
<img src="{{ MEDIA_URL }}pics/back.png" border="0" title="{% trans "Previous" %}" />
</a>
{% endif %}
{% if page.next_page %}
<a href="{{ page.baseurl }}?page={{ page.next_page }}">
<a href="{{ page.baseurl }}page={{ page.next_page }}">
<img src="{{ MEDIA_URL }}pics/next.png" border="0" title="{% trans "Next" %}" />
</a>
<a href="{{ page.baseurl }}?page={{ page.last_page }}">
<a href="{{ page.baseurl }}page={{ page.last_page }}">
<img src="{{ MEDIA_URL }}pics/last.png" border="0" title="{% trans "Last" %}" />
</a>
{% endif %}