diff --git a/projects/templates/project_detail.html b/projects/templates/project_detail.html index 6410839..ddce2bb 100644 --- a/projects/templates/project_detail.html +++ b/projects/templates/project_detail.html @@ -34,7 +34,7 @@ {% endif %}
- +
{% if project.customer.avatar %} {% thumbnail project.customer.avatar "125x125" crop="center" as im %} @@ -46,7 +46,7 @@

- {{ project.customer.get_full_name }} + {{ project.customer.get_full_name }} [{{ project.customer.username }}]

diff --git a/templates/home.html b/templates/home.html index 2529ebb..1ec8623 100644 --- a/templates/home.html +++ b/templates/home.html @@ -24,7 +24,7 @@
{% if request.user.is_authenticated and request.user.is_customer %} Я заказчик + href="{% url 'users:customer-profile' pk=request.user.pk %}">Я заказчик {% else %} Я заказчик {% endif %} diff --git a/templates/partials/header.html b/templates/partials/header.html index e5193ac..2de63d0 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -8,7 +8,7 @@ {% if request.user.is_contractor %} {% url 'users:contractor-profile' pk=request.user.pk as profile_url %} {% elif request.user.is_customer %} - {% url 'users:customer-profile-open-projects' pk=request.user.pk as profile_url %} + {% url 'users:customer-profile' pk=request.user.pk as profile_url %} {% endif %} diff --git a/users/templates/user_financial_info_edit.html b/users/templates/user_financial_info_edit.html index 5ffb2d5..64d027d 100644 --- a/users/templates/user_financial_info_edit.html +++ b/users/templates/user_financial_info_edit.html @@ -25,7 +25,7 @@ {% csrf_token %} {% if request.user.is_customer %} - + {% elif request.user.is_contractor %} {% endif %} diff --git a/users/templates/user_profile_edit_old.html b/users/templates/user_profile_edit_old.html index d88cf7e..8e7ef7d 100644 --- a/users/templates/user_profile_edit_old.html +++ b/users/templates/user_profile_edit_old.html @@ -25,7 +25,7 @@ {% csrf_token %} {% if request.user.is_customer %} - + {% elif request.user.is_contractor %} {% endif %}