Skip to content

Commit cc76e61

Browse files
committed
Modify markup to show message on center.
1 parent f0d2265 commit cc76e61

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

src/main/webapp/WEB-INF/views/collection/info.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,14 @@ <h3 th:text="#{t_collection_of(${ownerName})}">
8282
</div>
8383
/*/-->
8484

85+
<!--/*/
86+
<p class="text-center" th:if="${#lists.isEmpty(seriesOfCollection)}" th:text="#{t_empty_collection}">
87+
In this collection is no stamps
88+
</p>
89+
/*/-->
90+
8591
<div class="row">
8692
<div class="col-sm-4">
87-
88-
<!--/*/
89-
<p th:if="${#lists.isEmpty(seriesOfCollection)}" th:text="#{t_empty_collection}">
90-
In this collection is no stamps
91-
</p>
92-
/*/-->
93-
9493
<ul th:if="${not #lists.isEmpty(seriesOfCollection)}" th:remove="all-but-first">
9594
<li th:each="series : ${seriesOfCollection}">
9695
<span th:if="${series.category != null}" th:remove="tag">

src/main/webapp/WEB-INF/views/series/search_result.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,15 @@
6868
<h3 th:text="${#strings.capitalize(search_results)}">
6969
Search results
7070
</h3>
71+
72+
<!--/*/
73+
<p class="text-center" th:if="${#lists.isEmpty(searchResults)}" th:text="#{t_no_series_found}">
74+
No series found
75+
</p>
76+
/*/-->
77+
7178
<div class="row">
7279
<div class="col-sm-4">
73-
<!--/*/
74-
<div th:if="${#lists.isEmpty(searchResults)}" th:text="#{t_no_series_found}" th:remove="tag">
75-
No series found
76-
</div>
77-
/*/-->
7880
<ul th:if="${not #lists.isEmpty(searchResults)}" th:remove="all-but-first">
7981
<li th:each="series : ${searchResults}">
8082
<span th:if="${series.category != null}" th:remove="tag">

src/main/webapp/WEB-INF/views/site/events.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,13 @@
6464
<h3 class="text-center" th:text="${#strings.capitalize(suspicious_activities)}">
6565
Suspicious activities
6666
</h3>
67+
6768
<!--/*/
68-
<div th:if="${#lists.isEmpty(activities)}" th:text="#{t_no_suspicious_activities_found}" th:remove="tag">
69+
<p class="text-center" th:if="${#lists.isEmpty(activities)}" th:text="#{t_no_suspicious_activities_found}">
6970
No suspicious activities found
70-
</div>
71+
</p>
7172
/*/-->
73+
7274
<div th:if="${not #lists.isEmpty(activities)}" class="row">
7375
<div class="col-sm-12 table-responsive">
7476
<table class="table table-bordered table-striped">

0 commit comments

Comments
 (0)