From 4dcb62a1d3dd5948abb412072ef96969c68cd1d1 Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Fri, 17 Dec 2021 17:40:08 +0200 Subject: [PATCH] Global: Move link to the donation page to left menu Previously, the link to donate in the header when the Russian language was turned on took up too much space. Because of this, after adding a link to the invitation, the links in the header became too large and began to look not very nice. Also this link can now be easily disabled --- Web/Presenters/templates/@layout.xml | 3 --- locales/en.strings | 3 ++- locales/ru.strings | 3 ++- locales/ua.strings | 3 ++- openvk-example.yml | 3 ++- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Web/Presenters/templates/@layout.xml b/Web/Presenters/templates/@layout.xml index 4a681113..e868b1f0 100644 --- a/Web/Presenters/templates/@layout.xml +++ b/Web/Presenters/templates/@layout.xml @@ -95,9 +95,6 @@ - diff --git a/locales/en.strings b/locales/en.strings index b17f624b..8474074d 100644 --- a/locales/en.strings +++ b/locales/en.strings @@ -324,7 +324,6 @@ "header_home" = "home"; "header_groups" = "groups"; -"header_donate" = "donate"; "header_people" = "people"; "header_invite" = "invite"; "header_help" = "help"; @@ -334,6 +333,8 @@ "header_login" = "login"; "header_registration" = "registration"; +"left_menu_donate" = "Donate"; + "footer_blog" = "blog"; "footer_help" = "help"; "footer_developers" = "developers"; diff --git a/locales/ru.strings b/locales/ru.strings index f96799a7..cf2c0c4d 100644 --- a/locales/ru.strings +++ b/locales/ru.strings @@ -342,7 +342,6 @@ "header_home" = "главная"; "header_groups" = "группы"; -"header_donate" = "поддержать"; "header_people" = "люди"; "header_invite" = "пригласить"; "header_help" = "помощь"; @@ -352,6 +351,8 @@ "header_login" = "вход"; "header_registration" = "регистрация"; +"left_menu_donate" = "Поддержать"; + "footer_blog" = "блог"; "footer_help" = "помощь"; "footer_developers" = "разработчикам"; diff --git a/locales/ua.strings b/locales/ua.strings index 4e4eb8c9..fac74089 100644 --- a/locales/ua.strings +++ b/locales/ua.strings @@ -326,7 +326,6 @@ "header_home" = "головна"; "header_groups" = "групи"; -"header_donate" = "підтримати"; "header_people" = "люди"; "header_invite" = "запросити"; "header_help" = "допомога"; @@ -336,6 +335,8 @@ "header_login" = "вхід"; "header_registration" = "реєстрація"; +"left_menu_donate" = "Підтримати"; + "footer_blog" = "блог"; "footer_help" = "допомога"; "footer_developers" = "розробникам"; diff --git a/openvk-example.yml b/openvk-example.yml index 73996c64..441afd19 100644 --- a/openvk-example.yml +++ b/openvk-example.yml @@ -45,7 +45,8 @@ openvk: commerce: false menu: links: - + - name: "@left_menu_donate" + url: "/donate" adPoster: enable: false src: "https://example.org/ad_poster.jpeg"