From 3b82805457f2a0c3878f5719c798b43259fcf7c1 Mon Sep 17 00:00:00 2001 From: booblegum Date: Thu, 22 Dec 2016 11:40:12 +0300 Subject: [PATCH] =?UTF-8?q?PR-46=20=D0=9C=D0=BE=D0=B4=D0=B8=D1=84=D0=B8?= =?UTF-8?q?=D0=BA=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BF=D1=80=D0=BE=D1=84=D0=B8?= =?UTF-8?q?=D0=BB=D1=8F=20=D0=B7=D0=B0=D0=BA=D0=B0=D0=B7=D1=87=D0=B8=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FIX: paths: customer-profile-open-projects --> customer-profile --- projects/templates/project_detail.html | 4 ++-- templates/home.html | 2 +- templates/partials/header.html | 2 +- users/templates/user_financial_info_edit.html | 2 +- users/templates/user_profile_edit_old.html | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) 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 %}