diff --git a/Web/Presenters/templates/@layout.xml b/Web/Presenters/templates/@layout.xml
index b7d84b96..8fef2bfb 100644
--- a/Web/Presenters/templates/@layout.xml
+++ b/Web/Presenters/templates/@layout.xml
@@ -239,6 +239,14 @@
+
+
+
{_news}
+
+
{php echo OPENVK_ROOT_CONF['openvk']['preferences']['news']['title'];}
+
+
Подробнее »
+
{tr("you_still_have_x_points", $thisUser->getCoins())|noescape}
diff --git a/Web/static/css/main.css b/Web/static/css/main.css
index 8f465432..31b049e9 100644
--- a/Web/static/css/main.css
+++ b/Web/static/css/main.css
@@ -2305,7 +2305,7 @@ li {
padding-left: 15px;
}
-#votesBalance {
+#votesBalance, #news {
margin-top: 10px;
padding: 7px;
background-color: #f6f6f6;
@@ -2314,6 +2314,12 @@ li {
user-select: none;
}
+#news b
+{
+ color: #8A0000;
+ font-size: 12px;
+}
+
.cookies-popup {
position: fixed;
bottom: 0;
diff --git a/locales/en.strings b/locales/en.strings
index 9909b736..b5e211a2 100644
--- a/locales/en.strings
+++ b/locales/en.strings
@@ -1125,6 +1125,8 @@
"increased_your_rating_by" = "increased your rating by";
+"news" = "News";
+
/* Gifts */
"gift" = "Gift";
diff --git a/locales/ru.strings b/locales/ru.strings
index 7337b27f..714be3f1 100644
--- a/locales/ru.strings
+++ b/locales/ru.strings
@@ -1065,6 +1065,8 @@
"negative_rating_value" = "Мы не можем украсть рейтинг у другого человека, извините.";
"increased_your_rating_by" = "повысил ваш рейтинг на";
+"news" = "Новость";
+
/* Gifts */
"gift" = "Подарок";
diff --git a/openvk-example.yml b/openvk-example.yml
index b58660f7..5254b3d6 100644
--- a/openvk-example.yml
+++ b/openvk-example.yml
@@ -17,6 +17,10 @@ openvk:
minLength: 3 # won't affect existing short urls or the ones set via admin panel
forbiddenNames:
- "index.php"
+ news:
+ enable: false
+ link: "/link"
+ title: "я покакал"
photos:
upgradeStructure: false
photoSaving: "quick"