Dmitriy Shesterkin 9 years ago
parent 7c95d4e2e6
commit 868fb56828
  1. 1
      src/myauth/managers.py
  2. 2
      templates/customer/profile/orders_list.html

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import hashlib import hashlib
from random import random
from django.utils import timezone from django.utils import timezone
from django.db import models from django.db import models

@ -25,7 +25,7 @@
{% endif %} {% endif %}
</td> </td>
<td> <td>
{% if 'активна' in object.get_paid_status %} {% if 'активна' in object.get_paid_status and not object.type %}
<div class="status-license"> <div class="status-license">
<svg width="20" height="20"> <svg width="20" height="20">
<image xlink:href="{% static 'img/check.svg' %}" src="{% static 'img/check.png' %}" width="20" height="20"/> <image xlink:href="{% static 'img/check.svg' %}" src="{% static 'img/check.png' %}" width="20" height="20"/>

Loading…
Cancel
Save