From 2b6f4a9896359c60993b655b0485c4b546fc7301 Mon Sep 17 00:00:00 2001 From: veselcraft Date: Sat, 6 Nov 2021 14:40:44 +0300 Subject: [PATCH 1/2] Wall: Added more readability (fix #268) --- Web/static/css/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Web/static/css/style.css b/Web/static/css/style.css index 587078b5..99874221 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -496,6 +496,7 @@ h4 { border-bottom: #ECECEC solid 1px; font-size: 11px; padding: 3px 5px 3px; + line-height: 125%; } .post-author .date { @@ -512,6 +513,7 @@ h4 { padding: 4px; font-size: 11px; hyphens: manual; + line-height: 160%; } .post-content .attachments_b { From c8eb6c3f3f5935090d66e04f27b931533974154a Mon Sep 17 00:00:00 2001 From: veselcraft Date: Sat, 6 Nov 2021 15:02:12 +0300 Subject: [PATCH 2/2] About: Added a knowledge base feature to the main page --- Web/Presenters/templates/About/Index.xml | 19 ++++--------------- Web/static/css/style.css | 4 ++++ data/knowledgebase/about.ru.textile | 12 ++++++++++++ data/knowledgebase/about.textile | 10 ++++++++++ locales | 2 +- 5 files changed, 31 insertions(+), 16 deletions(-) create mode 100644 data/knowledgebase/about.ru.textile create mode 100644 data/knowledgebase/about.textile diff --git a/Web/Presenters/templates/About/Index.xml b/Web/Presenters/templates/About/Index.xml index fc258bb8..71feceb7 100644 --- a/Web/Presenters/templates/About/Index.xml +++ b/Web/Presenters/templates/About/Index.xml @@ -6,21 +6,10 @@ {/block} {block content} - OpenVK - универсальное средство поиска коллег основанное на структуре ВКонтакте.
-

Мы хотим, чтобы друзья, однокурсники, одноклассники, соседи и коллеги всегда могли быть в контакте.

-

- Нас уже {$stats->all} пользователя и {$stats->online} из - {$stats->active} активных сейчас в сети. -

-

С помощью этого сайта Вы можете:

- + {presenter "openvk!Support->knowledgeBaseArticle", "about"}
{_"log_in"} - {_"registration"}
- + {_"registration"} + + {* TO-DO: Add statistics about this instance as on mastodon.social *} {/block} diff --git a/Web/static/css/style.css b/Web/static/css/style.css index 99874221..aad51de7 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -1446,3 +1446,7 @@ body.scrolled .toTop:hover { background-color: #f3ddbd; color: #58462a; } + +.knowledgeBaseArticle { + margin-top: -11px; /* this is very stupid fix but nah */ +} diff --git a/data/knowledgebase/about.ru.textile b/data/knowledgebase/about.ru.textile new file mode 100644 index 00000000..3c024b00 --- /dev/null +++ b/data/knowledgebase/about.ru.textile @@ -0,0 +1,12 @@ +OpenVK-KB-Heading: Добро пожаловать + +*OpenVK - универсальное средство поиска коллег основанное на структуре ВКонтакте.* + +Мы хотим, чтобы друзья, однокурсники, одноклассники, соседи и коллеги всегда могли быть в контакте. + +С помощью этого сайта Вы можете: + +* Найти людей, с которыми Вы когда-либо учились, работали или отдыхали. +* Узнать больше о людях, которые Вас окружают, и найти новых друзей. +* Всегда оставаться в контакте с теми, кто Вам дорог. +* Продвигать своё творчество и/или мнение. diff --git a/data/knowledgebase/about.textile b/data/knowledgebase/about.textile new file mode 100644 index 00000000..c80e9fb0 --- /dev/null +++ b/data/knowledgebase/about.textile @@ -0,0 +1,10 @@ +*OpenVK is a universal colleague search tool based on the VKontakte structure.* + +We want friends, classmates, classmates, neighbors and colleagues to always be in touch. + +With this site you can: + +* Find people with whom you have ever studied, worked or played. +* Learn more about the people around you and make new friends. +* Always stay in touch with those who are dear to you. +* Promote your creativity and opinion. diff --git a/locales b/locales index c3127e1a..81c1e5a6 160000 --- a/locales +++ b/locales @@ -1 +1 @@ -Subproject commit c3127e1af00fa19e88acdf1c8ce0ebe74a61d6d4 +Subproject commit 81c1e5a61af79bc661c6fe34974c73c99b262038