--- a/server/src/main/webapp/WEB-INF/templates/fragment/paginationFragment.html Mon Oct 21 15:00:17 2013 +0200
+++ b/server/src/main/webapp/WEB-INF/templates/fragment/paginationFragment.html Mon Oct 21 17:55:12 2013 +0200
@@ -1,6 +1,5 @@
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:th="http://www.thymeleaf.org">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" th:lang="${#ctx.getLocale().toLanguageTag()}">
<head>
<meta charset="utf-8" />
<title>pagination fragment</title>
@@ -18,8 +17,8 @@
<a th:if="${page.hasNextPage()}" th:href="@{${baseUrl}(p.page=${page.number+2})}">></a>
<a th:if="!${page.lastPage}" th:href="@{${baseUrl}(p.page=${page.totalPages})}">>></a>
</div>
- <div th:remove="all">
- <a href="#?p.page=1"><<</a>
+ <div th:remove="all">
+ <a href="#?p.page=1"><<</a>
<a href="#?p.page=3"><</a>
<span>...</span>
<a href="#?p.page=2">3</a>