From 4e600889c59c3a409495df63a5e95f07f4738186 Mon Sep 17 00:00:00 2001 From: Dmitriy Shesterkin Date: Sat, 27 May 2017 12:04:51 +0300 Subject: [PATCH] fix first account add --- src/commons/templatetags/my_tags.py | 1 - src/dokumentor/templates/customer/profile/edit.html | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/commons/templatetags/my_tags.py b/src/commons/templatetags/my_tags.py index b18ffc8..42cc4a4 100644 --- a/src/commons/templatetags/my_tags.py +++ b/src/commons/templatetags/my_tags.py @@ -70,7 +70,6 @@ def to_float(value): def file_version(path): """Вернуть md5-хэш от статического файла.""" full_path = os.path.join(settings.STATIC_ROOT, path) - print(full_path) try: return md5(open(full_path, 'rb').read()).hexdigest() except IOError: diff --git a/src/dokumentor/templates/customer/profile/edit.html b/src/dokumentor/templates/customer/profile/edit.html index 7f50580..383ceac 100644 --- a/src/dokumentor/templates/customer/profile/edit.html +++ b/src/dokumentor/templates/customer/profile/edit.html @@ -245,7 +245,7 @@ {% empty %} {# две скрытые строки-заготовки под счета #} {% for x in "12" %} - + {% if forloop.first %} Основной счёт * {% elif forloop.counter == 2 %} @@ -253,14 +253,14 @@ {% endif %} - + нет в нет - + - [X] + [X]