diff --git a/templates/client/accounts/profile.html b/templates/client/accounts/profile.html index ecf4ac37..ea432419 100644 --- a/templates/client/accounts/profile.html +++ b/templates/client/accounts/profile.html @@ -2,310 +2,262 @@ {% load static %} {% load i18n %} {% load template_filters %} - - {% block bread_scrumbs %} {% endblock %} - {% block page_title %} -
-

{% trans 'Личный кабинет' %}

-
+
+

{% trans 'Личный кабинет' %}

+
{% endblock %} - {% block content_list %}
-
- - {# avatar #} - - {# END avatar #} -
-
- {# country and city #} -
- {% if home_form.instance.country %} - - {% else %} - - {% endif %} - {{ home_form.instance.country }} - - - {% if home_form.instance.city %} - - {% else %} - - {% endif %} - , {{ home_form.instance.city }} - - -
- {% trans 'редактировать' %} -
-
{% csrf_token %} -
- -
- -
- {{ home_form.country }} - -
-
- -
- -
- -
-
- -
- + {% trans 'закрыть' %} +
+
+
+ + {# END avatar #} +
+
+ {# country and city #} +
+ {% if home_form.instance.country %} + + {% else %} + + {% endif %} + {{ home_form.instance.country }} + + {% if home_form.instance.city %} + + {% else %} + + {% endif %} + , {{ home_form.instance.city }} + +
+ {% trans 'редактировать' %} +
+ {% csrf_token %} +
+
+ +
+ {{ home_form.country }} +
+
+
+ +
+ +
+
+
- - {% trans 'закрыть' %} -
-
-
- {# END country and city #} - - {# name #} -
- {{ name_form.get_full_name }} - +
+
+ {# END country and city #} + {# name #} +
+ {{ name_form.get_full_name }} +
{% trans 'редактировать' %}
{% csrf_token %} - + method="post" method="post">{% csrf_token %}
-
- {{ name_form.first_name }} + {{ name_form.first_name }} +
+
+
+ +
+ {{ name_form.last_name }}
-
- -
- {{ name_form.last_name }} -
-
-
-
- {% trans 'закрыть' %}
-
- {# END name #} -
- - {# position #} -
-

- {{ work_form.position.value }} - {% if work_form.work.value %} - {% trans 'в' %} {{ work_form.work.value }} - {% endif %} -

- - + {# END name #} + + {# position #} +
+

+ {{ work_form.position.value }} + {% if work_form.work.value %} + {% trans 'в' %} {{ work_form.work.value }} + {% endif %} +

+
+ {% trans 'редактировать' %}
{% csrf_token %} -
- -
- +
+
{{ work_form.position }}
-
-
- {{ work_form.work }} -
+
+ {{ work_form.work }} +
-
-
- {% trans 'закрыть' %} -
-
-
- {# END position #} - - - {# description #} -
-

{{ about_company_form.about_company.value }}

- +
+
+ {# END position #} + {# description #} +
+

{{ about_company_form.about_company.value }}

+
+ {% trans 'редактировать' %}
{% csrf_token %} -
-
- {{ about_company_form.about_company }} + {{ about_company_form.about_company }}
-
-
- {% trans 'закрыть' %}
-
-
- {# END description #} -
- -
- + {# END description #} +
+
+
+ {% trans 'редактировать профиль' %} + {% trans 'завершить редактирование' %} +
+ -
+
{% trans 'редактировать' %}
{% csrf_token %} -
-
{{ social_form.facebook }}
-
-
- {{ social_form.linkedin }} -
+
+ {{ social_form.linkedin }} +
-
- +
- {{ social_form.vk }} + {{ social_form.vk }}
-
{{ social_form.twitter }}
-
-
- {% trans 'закрыть' %}
-
-
- {# contacts #} - -
- -
- {# about #} -
-
{% trans 'О себе:' %}
- -
-

{{ about_form.about.value }}

- -
- {% trans 'редактировать' %} -
-
{% csrf_token %} - -
- -
- -
- {{ about_form.about }} -
-
- -
- -
- -
-
- - {% trans 'закрыть' %} -
-
-
-
- {# END about #} - -
-
+
+
+ {% if web_page_form.web_page.value %} + + {% if web_page_form.web_page.value %} + {{ web_page_form.web_page.value }} + {% endif %} + + {% endif %} +
+ {% trans 'редактировать' %} +
+
{% csrf_token %} +
+
+ +
+ {{ web_page_form.web_page }} +
+
+
+
+ +
+
+ {% trans 'закрыть' %} +
+
+
+ {# END contacts #} +
+
+
+ {# about #} +
+
{% trans 'О себе:' %}
+
+

{{ about_form.about.value }}

+
+ {% trans 'редактировать' %} +
+
{% csrf_token %} +
+
+ +
+ {{ about_form.about }} +
+
+
+
+ +
+
+ {% trans 'закрыть' %} +
+
+
+
+ {# END about #} +
+ {% endblock %} {% block scripts %} +{% if request.GET.debug == '1' %} +{% else %} + +{% endif %}