|
2 | 2 | <html lang="en" th:lang="${#locale.language == 'ru' ? 'ru' : 'en'}"
|
3 | 3 | xmlns="http://www.w3.org/1999/xhtml"
|
4 | 4 | xmlns:th="http://www.thymeleaf.org"
|
5 |
| - xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3" |
6 |
| - xmlns:togglz="https://github.com/heneke/thymeleaf-extras-togglz"> |
| 5 | + xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"> |
7 | 6 | <head>
|
8 | 7 | <meta charset="utf-8" />
|
9 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
@@ -90,34 +89,28 @@ <h3 class="text-center" th:text="#{t_collection_of(${ownerName})}">
|
90 | 89 |
|
91 | 90 | <div class="row">
|
92 | 91 | <div class="col-sm-2 col-md-push-4">
|
93 |
| - <!--/*/ |
94 |
| - <th:block togglz:active="SHOW_COLLECTION_STATISTICS" th:if="${not #lists.isEmpty(seriesOfCollection)}"> |
95 |
| - /*/--> |
96 |
| - <div class="panel panel-default"> |
97 |
| - <div class="panel-heading"> |
98 |
| - <h4 class="panel-title" th:text="#{t_in_collection}">In this collection</h4> |
99 |
| - </div> |
100 |
| - <div class="panel-body"> |
101 |
| - <p th:text="|#{t_categories_amount}: ${categoryCounter}|">Amount of categories: 1</p> |
102 |
| - <p th:text="|#{t_countries_amount}: ${countryCounter}|">Amount of countries: 1</p> |
103 |
| - <p th:text="|#{t_series_amount}: ${seriesCounter}|">Amount of series: 3</p> |
104 |
| - <p th:text="|#{t_stamps_amount}: ${stampsCounter}|">Amount of stamps: 34</p> |
105 |
| - </div> |
| 92 | + <div class="panel panel-default" th:if="${not #lists.isEmpty(seriesOfCollection)}"> |
| 93 | + <div class="panel-heading"> |
| 94 | + <h4 class="panel-title" th:text="#{t_in_collection}">In this collection</h4> |
| 95 | + </div> |
| 96 | + <div class="panel-body"> |
| 97 | + <p th:text="|#{t_categories_amount}: ${categoryCounter}|">Amount of categories: 1</p> |
| 98 | + <p th:text="|#{t_countries_amount}: ${countryCounter}|">Amount of countries: 1</p> |
| 99 | + <p th:text="|#{t_series_amount}: ${seriesCounter}|">Amount of series: 3</p> |
| 100 | + <p th:text="|#{t_stamps_amount}: ${stampsCounter}|">Amount of stamps: 34</p> |
106 | 101 | </div>
|
107 |
| - <!--/*/ |
108 |
| - </th:block> |
109 |
| - /*/--> |
| 102 | + </div> |
110 | 103 | </div>
|
111 | 104 | <div class="col-sm-3 col-md-push-4">
|
112 |
| - <div class="panel panel-default" togglz:active="SHOW_COLLECTION_CHARTS" th:if="${not #lists.isEmpty(seriesOfCollection)}"> |
| 105 | + <div class="panel panel-default" th:if="${not #lists.isEmpty(seriesOfCollection)}"> |
113 | 106 | <div class="panel-heading">
|
114 | 107 | <h4 class="panel-title" th:text="#{t_stamps_by_countries}">Stamps by countries</h4>
|
115 | 108 | </div>
|
116 | 109 | <div id="countries-chart" class="panel-body no-padding"></div>
|
117 | 110 | </div>
|
118 | 111 | </div>
|
119 | 112 | <div class="col-sm-3 col-md-push-4">
|
120 |
| - <div class="panel panel-default" togglz:active="SHOW_COLLECTION_CHARTS" th:if="${not #lists.isEmpty(seriesOfCollection)}"> |
| 113 | + <div class="panel panel-default" th:if="${not #lists.isEmpty(seriesOfCollection)}"> |
121 | 114 | <div class="panel-heading">
|
122 | 115 | <h4 class="panel-title" th:text="#{t_stamps_by_categories}">Stamps by categories</h4>
|
123 | 116 | </div>
|
@@ -166,7 +159,7 @@ <h4 class="panel-title" th:text="#{t_stamps_by_categories}">Stamps by categories
|
166 | 159 | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" th:src="${BOOTSTRAP_JS}"></script>
|
167 | 160 |
|
168 | 161 | <!--/*/
|
169 |
| - <th:block togglz:active="SHOW_COLLECTION_CHARTS" th:if="${not #lists.isEmpty(seriesOfCollection)}"> |
| 162 | + <th:block th:if="${not #lists.isEmpty(seriesOfCollection)}"> |
170 | 163 | /*/-->
|
171 | 164 | <!-- Charts -->
|
172 | 165 | <script src="https://www.gstatic.com/charts/loader.js"></script>
|
|
0 commit comments