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