request = new HttpEntity<>(headers);
+ try {
+ response = template.exchange(baseApiURL + url, HttpMethod.GET, request, String.class);
+ } catch (HttpClientErrorException e) {
+ return false;
+ }
+
+ return response.getStatusCode().value() == 200;
+ }
+
+}
diff --git a/src/main/resources/spring/spring.properties b/src/main/resources/spring/spring.properties
index 68410f7c37c583af069308763381cf5252596a7b..72939b561c761f21cce6c4e86d6c97c53c8f68a7 100644
--- a/src/main/resources/spring/spring.properties
+++ b/src/main/resources/spring/spring.properties
@@ -125,3 +125,9 @@ cache.tileserver.eviction-policy=LRU
# Connection to Elasticsearch
elasticsearch.url=http://localhost:9200/
+
+transifex.project=genesys-dev
+transifex.username=Alexandr19011990
+transifex.password=Alexandr19011990
+transifex.min.translated=80
+transifex.base.api.url =https://www.transifex.com/api/2/
diff --git a/src/main/webapp/WEB-INF/jsp/content/article-edit.jsp b/src/main/webapp/WEB-INF/jsp/content/article-edit.jsp
index 782505c14d7a6c63dd4acf34493367bdfb7f6c62..413be4d0d071b778fb3f102540d4bcf9665f71c7 100644
--- a/src/main/webapp/WEB-INF/jsp/content/article-edit.jsp
+++ b/src/main/webapp/WEB-INF/jsp/content/article-edit.jsp
@@ -1,63 +1,96 @@
-<%@include file="/WEB-INF/jsp/init.jsp"%>
+<%@include file="/WEB-INF/jsp/init.jsp" %>
-${title}
+
+ ${title}
-
-
-
-
- " method="post">
-
-
-
-
-
-
-
- " class="btn btn-primary" />
- " class="btn btn-default">Cancel
-
-
-
-
-
-
-
+
+ });
+ }
+ });
+
\ No newline at end of file