server/src/main/webapp/WEB-INF/templates/fragment/paginationFragment.html
branchuser_management
changeset 224 0167b777ad15
parent 127 906fed13c1e1
--- 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})}">&gt;</a>
  <a th:if="!${page.lastPage}" th:href="@{${baseUrl}(p.page=${page.totalPages})}">&gt;&gt;</a>
  </div>
- <div th:remove="all">               
-  <a href="#?p.page=1">&lt;&lt;</a>                    
+ <div th:remove="all">
+  <a href="#?p.page=1">&lt;&lt;</a>
   <a href="#?p.page=3">&lt;</a>
   <span>...</span>
   <a href="#?p.page=2">3</a>