|
|
|
|
@ -8,9 +8,8 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="gift-certificates__details"> |
|
|
|
|
<span class="gift-certificates__title theme {{ theme_color }}"> |
|
|
|
|
{% if user_gift_certificate and not user_gift_certificate.bonuses_sent %} |
|
|
|
|
<a href="{% url 'gift-certificate-get' user_gift_certificate.code %}">подарочный сертификат</a> |
|
|
|
|
{% else %}подарочный сертификат{% endif %}</span> |
|
|
|
|
Подарочный сертификат |
|
|
|
|
</span> |
|
|
|
|
<div class="gift-certificates__price">{{ gift_certificate.price|floatformat:"-2" }}₽</div> |
|
|
|
|
</div> |
|
|
|
|
{% if user_gift_certificate %} |
|
|
|
|
@ -22,7 +21,7 @@ |
|
|
|
|
{% else %} |
|
|
|
|
<div class="gift-certificates__status"> |
|
|
|
|
<img class="icon" style="margin-top: -1px; height: auto;" src="{% static 'img/clock.png' %}" /> |
|
|
|
|
Ожидает получения |
|
|
|
|
Ожидает получения | Код {{ user_gift_certificate.code }} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
{% else %} |
|
|
|
|
|