diff --git a/apps/user/views.py b/apps/user/views.py index a346380f..f4ea0ebb 100644 --- a/apps/user/views.py +++ b/apps/user/views.py @@ -305,7 +305,7 @@ class BonusHistoryView(TemplateView): payment__isnull=False, payment__status__in=Payment.PW_PAID_STATUSES, ) - context['referrer_url'] = '%s%s?referrer=%s' % ( + context['referrer_url'] = 'https://%s%s?referrer=%s' % ( settings.MAIN_HOST, reverse('index'), short_url.encode_url(request.user.id) ) context['share_text'] = '%s приглашает вас и ваших детей в первую онлайн школу креативного мышления Lil School. ' \ diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index a8cd6d94..b34fff10 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -14,13 +14,6 @@ - - - - {% 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 5f98f1fd..317f1d11 100644 --- a/project/templates/lilcity/main.html +++ b/project/templates/lilcity/main.html @@ -2,17 +2,9 @@ {% if is_referral_url and referrer %} -{% block twdescription %} -{{ referrer.get_full_name }} приглашает вас и ваших детей в первую онлайн школу креативного мышления Lil School. +{% block ogdescription %}{{ referrer.get_full_name }} приглашает вас и ваших детей в первую онлайн школу креативного мышления Lil School. Занимайтесь с ребёнком творчеством, не выходя из дома. -Перейдите по ссылке и получите скидку {{ config.REFERRAL_BONUS }}% на первую покупку -{% endblock twdescription %} - -{% block ogdescription %} -{{ referrer.get_full_name }} приглашает вас и ваших детей в первую онлайн школу креативного мышления Lil School. -Занимайтесь с ребёнком творчеством, не выходя из дома. -Перейдите по ссылке и получите скидку {{ config.REFERRAL_BONUS }}% на первую покупку -{% endblock ogdescription %} +Перейдите по ссылке и получите скидку {{ config.REFERRAL_BONUS }}% на первую покупку{% endblock ogdescription %} {% endif %} diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass index 77abc6f9..9dc4647d 100755 --- a/web/src/sass/_common.sass +++ b/web/src/sass/_common.sass @@ -624,7 +624,8 @@ a.btn &_bg &__container border-color: transparent &__bonuses - padding: 5px 15px + padding: 5px 12px + white-space: nowrap border: 1px solid rgba(25, 25, 25, 0.1) position: relative margin-left: 20px