diff --git a/apps/user/templates/user/bonus-history.html b/apps/user/templates/user/bonus-history.html
index e73383e4..3c6af73e 100644
--- a/apps/user/templates/user/bonus-history.html
+++ b/apps/user/templates/user/bonus-history.html
@@ -27,7 +27,7 @@
{% include 'templates/blocks/share.html' with share_object_name="ссылкой" share_url=referrer_url %}
diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html
index fbf876b3..72419d88 100644
--- a/project/templates/lilcity/index.html
+++ b/project/templates/lilcity/index.html
@@ -20,12 +20,12 @@
{% comment %} {% endcomment %}
{% comment %} {% endcomment %}
{% comment %} {% endcomment %}
- {% comment %} {% endcomment %}
+ {% comment %} {% endcomment %}
{% comment %} {% endcomment %}
-
+
diff --git a/project/templates/lilcity/main.html b/project/templates/lilcity/main.html
index 0f1c5b7e..5f98f1fd 100644
--- a/project/templates/lilcity/main.html
+++ b/project/templates/lilcity/main.html
@@ -1,11 +1,19 @@
{% extends "templates/lilcity/index.html" %} {% load static %}
{% if is_referral_url and referrer %}
+
+{% block twdescription %}
+{{ referrer.get_full_name }} приглашает вас и ваших детей в первую онлайн школу креативного мышления Lil School.
+Занимайтесь с ребёнком творчеством, не выходя из дома.
+Перейдите по ссылке и получите скидку {{ config.REFERRAL_BONUS }}% на первую покупку
+{% endblock twdescription %}
+
{% block ogdescription %}
{{ referrer.get_full_name }} приглашает вас и ваших детей в первую онлайн школу креативного мышления Lil School.
Занимайтесь с ребёнком творчеством, не выходя из дома.
Перейдите по ссылке и получите скидку {{ config.REFERRAL_BONUS }}% на первую покупку
{% endblock ogdescription %}
+
{% endif %}
{% block title %}School LIL.CITY{% endblock title %}
diff --git a/web/src/js/modules/profile.js b/web/src/js/modules/profile.js
index 8bf9df91..60933c3d 100644
--- a/web/src/js/modules/profile.js
+++ b/web/src/js/modules/profile.js
@@ -1,13 +1,17 @@
import $ from 'jquery';
import slugify from 'slugify';
import ClipboardJS from 'clipboard';
+import {showNotification} from './notification';
export const main = (app) => {
if(app.urlIs('userBonuses')){
$('#referrer-url').select().click(function(){
$(this).select();
});
- new ClipboardJS('.btn');
+ const clipboard = new ClipboardJS('#copy-referrer-url-btn');
+ clipboard.on('success', e => {
+ showNotification('success', 'Ссылка скопирована');
+ });
return;
}
// Обработчик выбора пола
diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass
index e2fa0554..77abc6f9 100755
--- a/web/src/sass/_common.sass
+++ b/web/src/sass/_common.sass
@@ -197,7 +197,7 @@ button
background: white
border: 1px solid $gray
color: $gray
-
+
&:hover,
&:active
color: $cl
@@ -633,7 +633,7 @@ a.btn
font-size: 18px
text-align: center
&__bonuses-link
- color: #ccc
+ color: rgba(25, 25, 25, 0.3)
&__lil-coin-img
margin-bottom: -5px