Skip to content

Commit f65e5b7

Browse files
committed
add new how to pay for platim
1 parent 4bec045 commit f65e5b7

File tree

4 files changed

+81
-5
lines changed

4 files changed

+81
-5
lines changed

landing_page/mainpage/static/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,7 @@ ul.who-we-icon {
18781878
}
18791879

18801880
.how-to-pay-cont {
1881-
padding-bottom: 40px;
1881+
padding-bottom: 60px;
18821882
}
18831883

18841884
.how-to-pay p, .how-to-pay ul {
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{% load static %}
2+
3+
<section class="how-to-pay show1" id="howToPay">
4+
<div class="container d-lg-none">
5+
<div class="m-section-header">
6+
<h4>Как оплатить</h4>
7+
</div>
8+
</div>
9+
<div class="container m-hide">
10+
<div class="container d-none d-lg-block">
11+
<div class="pc-section-header ">
12+
<h2>Как оплатить</h2>
13+
</div>
14+
</div>
15+
<div class="row mx-row how-to-pay-cont d-lg-flex">
16+
<div class="col-lg-3 pl-0 d-lg-block pb-lg-4 padd-0">
17+
<div class="curse-heading">
18+
<h3>Частным лицам</h3>
19+
<p class="hdescr">(оплата сразу)</p>
20+
</div>
21+
</div>
22+
<div class="col-lg-9 d-lg-block text-left padd-0">
23+
<p>
24+
Начните регистрацию, чтобы забронировать место на курсе, а затем оплатите курс в течение 4 дней
25+
одним из способов:
26+
</p>
27+
<ul class="installment-plan">
28+
<li>
29+
<p>
30+
<span style="padding-right: 10px">Картой Visa или Mastercard банков РФ.</span>
31+
</p>
32+
</li>
33+
<li>
34+
<p>
35+
<span style="padding-right: 10px">Картой Visa или Mastercard банков многих стран вне РФ.</span>
36+
</p>
37+
</li>
38+
<li>
39+
<p>
40+
<span style="padding-right: 10px">QR-кодом (если вы пользуетесь Тинькофф).</span>
41+
</p>
42+
</li>
43+
</ul>
44+
<p style="margin-top: 30px">
45+
В процессе оплаты вы можете выбрать вариант рассрочки от 3 до 12 месяцев.
46+
</p>
47+
48+
</div>
49+
</div>
50+
<div class="row mx-row how-to-pay-cont d-lg-flex padd-b">
51+
<div class="col-lg-3 pl-0 d-lg-block pb-lg-4 padd-0">
52+
<div class="curse-heading">
53+
<h3>Юридическим лицам</h3>
54+
<p class="hdescr">(безналичная оплата)</p>
55+
</div>
56+
</div>
57+
<div class="col-lg-9 d-lg-block text-left padd-0">
58+
<p>
59+
Свяжитесь с нами, написав на
60+
<a class="mail-lnk" href="mailto:learn@python.ru">learn@python.ru</a>.
61+
</p>
62+
</div>
63+
</div>
64+
</div>
65+
</section>

landing_page/mainpage/templates/mainpage/include/index_menu.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,16 @@
1414
<span class="color-blue">L</span>EARN <span class="color-yellow">P</span>YTHON
1515
</a>
1616
</div>
17-
<a data-toggle="modal" data-target="#overlay" class="custom-btn btn btn-outline-warning" href="#counter">
18-
Записаться
19-
</a>
17+
18+
{% if enrollment.platim_url %}
19+
<a class="custom-btn btn btn-outline-warning" href="{{ enrollment.platim_url }}" target="_blank">
20+
Записаться
21+
</a>
22+
{% else %}
23+
<a data-toggle="modal" data-target="#overlay" class="custom-btn btn btn-outline-warning" href="#counter">
24+
Записаться
25+
</a>
26+
{% endif %}
2027
</div>
2128
<ul class="nav justify-content-start justify-content-lg-end smooth-scroll">
2229
<li class="nav-item">

landing_page/mainpage/templates/mainpage/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,11 @@ <h3 class="text-center d-none d-lg-block">онлайн курс</h3>
303303
</div>
304304
</section>
305305

306-
{% include 'mainpage/include/index_how_to_pay.html' %}
306+
{% if enrollment.platim_url %}
307+
{% include 'mainpage/include/index_how_to_pay_by_platim.html' %}
308+
{% else %}
309+
{% include 'mainpage/include/index_how_to_pay.html' %}
310+
{% endif %}
307311

308312
{% include 'mainpage/include/index_reviews.html' with student_videos=student_videos %}
309313

0 commit comments

Comments
 (0)