@@ -39,4 +42,6 @@ {% block personal_js %} + {# Для модального окна "mod-realty-edit" #} + {% endblock %} \ No newline at end of file diff --git a/users/templates/partials/inc-objects.html b/users/templates/partials/inc-objects.html index ff15f33..91c1adc 100644 --- a/users/templates/partials/inc-objects.html +++ b/users/templates/partials/inc-objects.html @@ -19,7 +19,17 @@ {% else %} - Редактировать + + Редактировать + + {% endif %}
@@ -78,7 +88,8 @@ {{ forloop.counter }} - {{ project.name|truncatechars:25 }} + {{ project.name|truncatechars:25 }} {{ project.created }} diff --git a/webpack.config.js b/webpack.config.js index 83f03a4..0d5fd1f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -26,6 +26,8 @@ module.exports = { //portfolio init_portfolio_create_edit: "./assets/js/src/init_portfolio_create_edit.js", portfolio_create_edit: "./assets/js/src/portfolio_create_edit.js", + //modal Realty edit + init_modal_realty_edit: "./assets/js/src/init_modal_realty_edit.js", }, output: {