File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ <h1>{{ offer.name }}</h1>
32
32
{% endif %}
33
33
34
34
{% if offer.description %}
35
- {{ offer.description|safe }}
35
+ < div class ="well ">
36
+ {{ offer.description|safe }}
37
+ </ div >
36
38
{% endif %}
37
39
38
40
{% if upsell_message %}
@@ -45,17 +47,13 @@ <h3>{% trans "What you need to do" %}</h3>
45
47
{% if products.count %}
46
48
< section >
47
49
< div class ="mod ">
48
- {% if page_obj %}
49
- {% include "partials/pagination.html" %}
50
- {% endif %}
50
+ {% include "partials/pagination.html" %}
51
51
< ol class ="products four ">
52
52
{% for product in products %}
53
53
< li > {% include "catalogue/partials/product.html" %}</ li >
54
54
{% endfor %}
55
55
</ ol >
56
- {% if page_obj %}
57
- {% include "partials/pagination.html" %}
58
- {% endif %}
56
+ {% include "partials/pagination.html" %}
59
57
</ div >
60
58
</ section >
61
59
{% else %}
Original file line number Diff line number Diff line change 1
1
{% load display_tags %}
2
2
{% load i18n %}
3
3
4
- {% if total_pages > 1 %}
4
+ {% if paginator.num_pages > 1 %}
5
5
< div >
6
6
< ul class ="pager ">
7
7
{% if page_obj.has_previous %}
You can’t perform that action at this time.
0 commit comments