diff --git a/apps/user/templates/user/bonus-history.html b/apps/user/templates/user/bonus-history.html
index f98474bb..bc10a5ab 100644
--- a/apps/user/templates/user/bonus-history.html
+++ b/apps/user/templates/user/bonus-history.html
@@ -28,7 +28,7 @@
{% include 'templates/blocks/share.html' with share_object_name="ссылкой" share_url=referrer_url %}
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;
}
// Обработчик выбора пола