From b2d4dc6e9193e95f646c2f15000cb1c2ec79b022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Solard?= Date: Thu, 7 Aug 2014 18:06:19 +0200 Subject: [PATCH] Move the code of the responsive buttons "next" and "previous" from nlayout.html to his child template webmail/index.html --- .../extensions/webmail/templates/webmail/index.html | 12 ++++++++++-- modoboa/templates/common/pagination_responsive.html | 9 +++++++++ modoboa/templates/nlayout.html | 7 +------ 3 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 modoboa/templates/common/pagination_responsive.html diff --git a/modoboa/extensions/webmail/templates/webmail/index.html b/modoboa/extensions/webmail/templates/webmail/index.html index c5b4f2ba3..3d72111b4 100644 --- a/modoboa/extensions/webmail/templates/webmail/index.html +++ b/modoboa/extensions/webmail/templates/webmail/index.html @@ -30,6 +30,15 @@ $(document).ready(function() { {% endblock %} +{% block pagination_responsive %} +
+ + + + +
+{% endblock %} + {% block fixed_content %}
@@ -51,5 +60,4 @@ $(document).ready(function() {
{% endif %} -{% endblock %} - +{% endblock %} \ No newline at end of file diff --git a/modoboa/templates/common/pagination_responsive.html b/modoboa/templates/common/pagination_responsive.html new file mode 100644 index 000000000..25d941db6 --- /dev/null +++ b/modoboa/templates/common/pagination_responsive.html @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/modoboa/templates/nlayout.html b/modoboa/templates/nlayout.html index 5482aef86..3317644ce 100644 --- a/modoboa/templates/nlayout.html +++ b/modoboa/templates/nlayout.html @@ -35,12 +35,7 @@ Mailbox
-
- - - - -
+ {% block pagination_responsive %}{% endblock %}