From 15a58f77a2a33e630236943d2f1ca2ce93749d07 Mon Sep 17 00:00:00 2001 From: Sanasol Date: Mon, 2 Apr 2018 17:34:27 +0300 Subject: [PATCH] grammar nazi fixes, category filter --- project/templates/lilcity/edit_index.html | 2 +- project/templates/lilcity/index.html | 4 ++-- web/build/index.html | 4 ++-- web/build/ui-kit.html | 4 ++-- web/src/js/modules/courses.js | 2 +- web/src/templates/partials/_header.pug | 2 +- web/src/templates/partials/_popups.pug | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/project/templates/lilcity/edit_index.html b/project/templates/lilcity/edit_index.html index 0c2fc067..6f4dd487 100644 --- a/project/templates/lilcity/edit_index.html +++ b/project/templates/lilcity/edit_index.html @@ -278,7 +278,7 @@
-
Выбор урока/дня
+
Выбор курса/дня
При записи на 5 уроков скидка 10%.
diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index 4e3c17e2..a39fb3b8 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -131,7 +131,7 @@ {% endcomment %}
-
ВИДЕО-КУРСЫ +
ВИДЕОКУРСЫ
{% category_menu_items category %}
@@ -439,7 +439,7 @@
-
Выбор урока/дня
+
Выбор курса/дня
diff --git a/web/build/index.html b/web/build/index.html index 38f1efe0..a1dbb725 100755 --- a/web/build/index.html +++ b/web/build/index.html @@ -87,7 +87,7 @@
-
ВИДЕО-КУРСЫ +
ВИДЕОКУРСЫ -
ВИДЕО-КУРСЫ +
ВИДЕОКУРСЫ
ПЕРСОНАЖ
@@ -352,7 +352,7 @@
-
Выбор урока/дня
+
Выбор курса/дня
При записи на 5 уроков скидка 10%.
diff --git a/web/src/js/modules/courses.js b/web/src/js/modules/courses.js index 90ffeb97..49892540 100644 --- a/web/src/js/modules/courses.js +++ b/web/src/js/modules/courses.js @@ -31,7 +31,7 @@ $(document).ready(function () { e.preventDefault(); const currentCategory = $(this).attr('data-category-name'); $('[data-category-name]').removeClass('active'); - $(`[data-category-name=${currentCategory}]`).addClass('active'); + $(`[data-category-name='${currentCategory}']`).addClass('active'); history.replace($(this).attr('data-category-url')); load_courses($(this).attr('data-category-url'), true); }); diff --git a/web/src/templates/partials/_header.pug b/web/src/templates/partials/_header.pug index 569cfa92..67422350 100755 --- a/web/src/templates/partials/_header.pug +++ b/web/src/templates/partials/_header.pug @@ -65,7 +65,7 @@ else a.header__link(href='#') div.header__title Контакты .header__group - a.header__section.header__section_sub.js-header-section(href='#') ВИДЕО-КУРСЫ + a.header__section.header__section_sub.js-header-section(href='#') ВИДЕОКУРСЫ .header__list.js-header-list a.header__link(href='#') .header__title ПЕРСОНАЖ diff --git a/web/src/templates/partials/_popups.pug b/web/src/templates/partials/_popups.pug index 743ad542..3fe4f9af 100755 --- a/web/src/templates/partials/_popups.pug +++ b/web/src/templates/partials/_popups.pug @@ -71,7 +71,7 @@ .buy__row .buy__col .buy__head.buy__head_main - .buy__title Выбор урока/дня + .buy__title Выбор курса/дня .buy__content При записи на 5 уроков скидка 10%. .buy__col .buy__head