From 2d08a25cad4881b8748a2fe7f73f4de42aeb094f Mon Sep 17 00:00:00 2001 From: Mukhtar Date: Sun, 16 Oct 2016 18:57:13 +0300 Subject: [PATCH] =?UTF-8?q?#PR-38=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=BE=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20?= =?UTF-8?q?=D0=BB=D0=B8=D1=88=D0=BD=D0=B5=D0=B9=20=D0=B8=D0=BD=D1=84=D0=BE?= =?UTF-8?q?=D1=80=D0=BC=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/index.js | 5 ++++- users/templates/customer_profile_open_projects.html | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/assets/index.js b/assets/index.js index 915f5c4..b531a65 100644 --- a/assets/index.js +++ b/assets/index.js @@ -10,7 +10,10 @@ var DEFAULT_WORK_TYPE = 403; // Plugins init -------------------------------------------- -$('.datepicker').datepicker() +$('.datepicker').datepicker({ + changeMonth: true, + changeYear: true, +}) $('[data-tooltip]').tooltip({ container: 'body', // Remove unwanted side-effects diff --git a/users/templates/customer_profile_open_projects.html b/users/templates/customer_profile_open_projects.html index eedad4f..ed7bf14 100644 --- a/users/templates/customer_profile_open_projects.html +++ b/users/templates/customer_profile_open_projects.html @@ -16,13 +16,14 @@ Открытые проекты {{ open_project_count }} - + {% if request.user == customer %} Корзина {{ trashed_project_count }} + {% endif %} - + {% if request.user == customer %}
@@ -30,6 +31,7 @@
+ {% endif %} {% if request.user == customer %}