aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-20 09:44:55 +0300
committerGravatar Vitaly Takmazov2016-12-20 09:44:55 +0300
commitfc9b35fbf7ce556b379d3396533962ef1a714888 (patch)
tree79afac5753a60f54bc0ad5abd21687d075089cbd /juick-spring-www
parenta928586ad8ec94e47533e5951f3bef7adb95b5a7 (diff)
juick-spring-www: fix namespaces of partial templates
Diffstat (limited to 'juick-spring-www')
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_paginator.html2
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html2
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html2
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_paginator.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_paginator.html
index 188207b6..aa1e0466 100644
--- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_paginator.html
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_paginator.html
@@ -1,3 +1,3 @@
-<p class="page" th:if="${nextpage != null}">
+<p class="page" th:if="${nextpage != null}" xmlns:th="http://www.thymeleaf.org">
<a th:href="${nextpage}" rel="prev"><span th:text="#{messages.next}" th:remove="tag">Next</span>&nbsp;→</a>
</p> \ No newline at end of file
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html
index 5b85bc5f..a9ed9f5d 100644
--- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html
@@ -1,4 +1,4 @@
-<div th:if="${#authorization.expression('isAuthenticated()')}" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
+<div th:if="${#authorization.expression('isAuthenticated()')}" xmlns:th="http://www.thymeleaf.org">
<form action="/post" th:action="@{/post}" method="post" enctype="multipart/form-data">
<section id="newmessage">
<textarea name="body" placeholder="Новое сообщение..." th:placeholder="#{postForm.newMessage}"></textarea>
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html
index cbf25c3b..46c146f2 100644
--- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html
@@ -1,4 +1,4 @@
-<p class="tags" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
+<p class="tags" xmlns:th="http://www.thymeleaf.org">
<div th:replace="views/partial/tags">Tags</div>
<a href="http://ru.wix.com/" th:if="${showAdv}">конструктор сайтов</a>
</p>
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html
index 28ccadea..f4822b4a 100644
--- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html
@@ -1,3 +1,3 @@
-<th:block th:each="tag:${tags}">
+<th:block th:each="tag:${tags}" xmlns:th="http://www.thymeleaf.org">
<a th:href="|/tag/${tag}|" th:title="${tag}" th:text="${tag}">Tag</a>
</th:block> \ No newline at end of file