Reformat product list template
This commit is contained in:
parent
c830b69185
commit
1ff603faba
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
{% for plan in plans %}
|
{% for plan in plans %}
|
||||||
|
|
||||||
{% if plan not in user_plans %}
|
{% if plan not in user_plans %}
|
||||||
<a href="order?product={{ plan.name }}">
|
<a href="order?product={{ plan.name }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="product">
|
<div class="product">
|
||||||
<img src="{% static plan.image %}" alt="Data image"/>
|
<img src="{% static plan.image %}" alt="Data image"/>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
|
@ -16,9 +16,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if plan not in user_plans %}
|
{% if plan not in user_plans %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
Loading…
Reference in New Issue