1.1.16 add YandexMetrika tag for create_routes, registration button in header/footer

This commit is contained in:
2024-06-21 14:54:30 +03:00
parent 729f03ca47
commit 2fc153843f
3 changed files with 18 additions and 2 deletions

View File

@@ -64,7 +64,10 @@
{% if not user.is_authenticated %}
<div class="fifth-column">
<a class="fifth-column-first" href="{% url "registration_page" %}">{% trans "Регистрация" %}</a>
<a
class="fifth-column-first"
onclick="ym(97070898,'reachGoal','reg_button_footer'); return true;"
href="{% url "registration_page" %}">{% trans "Регистрация" %}</a>
<a href="{% url "login_profile" %}">{% trans "Войти" %}</a>
</div>
{% endif %}

View File

@@ -106,6 +106,7 @@
<div class="header_buttons">
<a
class="registration_button"
onclick="ym(97070898,'reachGoal','reg_button_header'); return true"
href="{% url "registration_page" %}">
{% trans "Регистрация" %}
</a>