From 4b976978cf11f41b6207d49a50df41f4ece43cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Mon, 13 Apr 2015 19:59:50 +0000 Subject: [PATCH] PJAX: Allowing pjax only for volume actions --- .../themes/bootflat/templates/_layout.html | 22 +++++++++---------- .../bootflat/templates/account/main.html | 2 +- .../templates/manga/publishers/list.html | 4 ++-- .../bootflat/templates/manga/search.html | 4 ++-- .../manga/series/includes/volume.html | 4 ++-- .../bootflat/templates/manga/series/list.html | 12 +++++----- .../bootflat/templates/users/profile.html | 10 ++++----- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/shelfzilla/themes/bootflat/templates/_layout.html b/shelfzilla/themes/bootflat/templates/_layout.html index 241e285..2a33e84 100644 --- a/shelfzilla/themes/bootflat/templates/_layout.html +++ b/shelfzilla/themes/bootflat/templates/_layout.html @@ -32,21 +32,21 @@ - Shelfzilla + Shelfzilla -
+
{% comment %}
diff --git a/shelfzilla/themes/bootflat/templates/manga/publishers/list.html b/shelfzilla/themes/bootflat/templates/manga/publishers/list.html index a59be48..c622eca 100644 --- a/shelfzilla/themes/bootflat/templates/manga/publishers/list.html +++ b/shelfzilla/themes/bootflat/templates/manga/publishers/list.html @@ -27,9 +27,9 @@ {% for item in letter.list %}
  • {% if item.slug %} - {{ item.name }} + {{ item.name }} {% else %} - {{ item.name }} + {{ item.name }} {% endif %}
  • {% endfor %} diff --git a/shelfzilla/themes/bootflat/templates/manga/search.html b/shelfzilla/themes/bootflat/templates/manga/search.html index fcef003..3836573 100644 --- a/shelfzilla/themes/bootflat/templates/manga/search.html +++ b/shelfzilla/themes/bootflat/templates/manga/search.html @@ -11,9 +11,9 @@ {% for item in items %}
  • {% if item.slug %} - {{ item.name }} + {{ item.name }} {% else %} - {{ item.name }} + {{ item.name }} {% endif %}
  • {% empty %} diff --git a/shelfzilla/themes/bootflat/templates/manga/series/includes/volume.html b/shelfzilla/themes/bootflat/templates/manga/series/includes/volume.html index 7a4b417..bc07649 100644 --- a/shelfzilla/themes/bootflat/templates/manga/series/includes/volume.html +++ b/shelfzilla/themes/bootflat/templates/manga/series/includes/volume.html @@ -18,7 +18,7 @@ {% endif %} {% if type == 'slim' %} - +

    {% if show_language and volume.language %} @@ -39,7 +39,7 @@
    {{ volume.collection.name }}
    {% endif %} {% if show_publisher %} -
    + {% endif %} {% if volume.release_date %}
    {{ volume.release_date|date:"F Y" }}
    diff --git a/shelfzilla/themes/bootflat/templates/manga/series/list.html b/shelfzilla/themes/bootflat/templates/manga/series/list.html index f7a9154..c602c4f 100644 --- a/shelfzilla/themes/bootflat/templates/manga/series/list.html +++ b/shelfzilla/themes/bootflat/templates/manga/series/list.html @@ -10,11 +10,11 @@

    @@ -29,9 +29,9 @@ {% for item in items %}
  • {% if item.slug %} - {{ item.name }} + {{ item.name }} {% else %} - {{ item.name }} + {{ item.name }} {% endif %}
  • {% empty %} @@ -49,9 +49,9 @@ {% for item in letter.list %}
  • {% if item.slug %} - {{ item.name }} + {{ item.name }} {% else %} - {{ item.name }} + {{ item.name }} {% endif %}
  • {% empty %} diff --git a/shelfzilla/themes/bootflat/templates/users/profile.html b/shelfzilla/themes/bootflat/templates/users/profile.html index b65acc5..ae527b7 100644 --- a/shelfzilla/themes/bootflat/templates/users/profile.html +++ b/shelfzilla/themes/bootflat/templates/users/profile.html @@ -23,18 +23,18 @@
    - + {% trans "Summary" %} {% if item.have_volumes.count > 0 %} - + {% trans "Collection" %} {% endif %} {% if item.wishlisted_volumes.count > 0 %} - + {% trans "Wishlist" %} {% endif %} {% comment %} - + {% trans "Achievements" %} {% endcomment %}
    @@ -47,7 +47,7 @@ {% endif %}
    -
    +
    {% block profile_content %} {% include "users/profile/summary.html" %} {% endblock %}