diff --git a/apps/user/templates/blocks/profile-menu.html b/apps/user/templates/blocks/profile-menu.html index 5bb21b94..b5b17b83 100644 --- a/apps/user/templates/blocks/profile-menu.html +++ b/apps/user/templates/blocks/profile-menu.html @@ -7,8 +7,6 @@ href="{% url 'user-edit-notifications' %}">Уведомления Платежи - - diff --git a/apps/user/templates/user/bonus-history.html b/apps/user/templates/user/bonus-history.html index cfddee9d..f98474bb 100644 --- a/apps/user/templates/user/bonus-history.html +++ b/apps/user/templates/user/bonus-history.html @@ -6,26 +6,32 @@ {% include "../blocks/profile-menu.html" with active="bonuses" %}
-
+
Бонусы
-
У вас {{ request.user.bonus|rupluralize:"бонус,бонуса,бонусов" }}
+
+
У вас {{ request.user.bonus }} Lil
+
+ 1 Lil = 1 Р +
+
- Вы можете пригласить своих друзей в наш сервис, за это - {% if config.REFERRER_BONUS == config.REFERRAL_BONUS %} - вы и они получите по {{ config.REFERRER_BONUS }}% - {% else %} - вы получите {{ config.REFERRER_BONUS }}%, а они {{ config.REFERRAL_BONUS }}% - {% endif %} - от суммы их первой покупки на бонусный счет. Приглашайте друзей, накапливайте бонусные баллы, тратьте бонусы - на приобретения доступа к школе и курсам. + Приглашайте друзей в Lil School и получайте {{ config.REFERRER_BONUS }}% + от суммы их первой покупки. Накапливайте монеты и тратьте их на оплату школы и курсов.
- Просто отправьте им эту ссылку, по которой они смогут зарегистрироваться: + Просто отправьте эту ссылку, по которой ваши друзья могут присоединиться к нам:
-
-
- +
+
+ +
+
+
+
+ +
+ {% include 'templates/blocks/share.html' with share_object_name="ссылкой" share_url=referrer_url %}
diff --git a/project/templates/blocks/lil_store_js.html b/project/templates/blocks/lil_store_js.html index 29aacb22..7df6d16d 100644 --- a/project/templates/blocks/lil_store_js.html +++ b/project/templates/blocks/lil_store_js.html @@ -22,6 +22,7 @@ urls: { courses: "{% url 'courses' %}", userProfileEdit: "{% url 'user-edit-profile' %}", + userBonuses: "{% url 'user-bonuses' %}", }, flags: { referrer: '{{ referrer.id|default:'' }}', diff --git a/project/templates/blocks/share.html b/project/templates/blocks/share.html index 85fa1ebb..0f0a360b 100644 --- a/project/templates/blocks/share.html +++ b/project/templates/blocks/share.html @@ -3,7 +3,9 @@