Skip to content

Commit 347d70c

Browse files
committed
task(series/info.html): add a block with a list of similar series to the prototype.
Fix #970
1 parent 102d5f8 commit 347d70c

File tree

1 file changed

+21
-0
lines changed
  • src/main/webapp/WEB-INF/views/series

1 file changed

+21
-0
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,27 @@
338338
</dl>
339339
</div>
340340
</div>
341+
<!--/*-->
342+
<div class="row">
343+
<div class="col-sm-10 col-sm-offset-2">
344+
<h5 class="text-center" th:text="#{t_similar_series}">
345+
Similar series
346+
</h5>
347+
<ul>
348+
<li th:each="series : ${similarSeries}">
349+
<a href="../series/info.html" th:href="@{${INFO_SERIES_PAGE}(id=${series.id})}">
350+
<span th:remove="tag" th:if="${series.country != null}" th:text="|${series.country}, |">Italy, </span>
351+
<span th:remove="tag" th:if="${series.year != null}" th:text="|${series.year}, |">1999, </span>
352+
<span th:remove="tag" th:text="|${series.quantity}&nbsp;${series.quantity != 1 ? '__#{t_stamps}__' : '__#{t_stamp}__'}|">7&nbsp;stamps</span>
353+
<span th:remove="tag" th:if="${not series.perforated}" th:text="|(#{t_wo_perforation_short})|">(without perforation)</span>
354+
</a>
355+
</li>
356+
<li><a href="../series/info.html">Italy, 4&nbsp;stamps</a></li>
357+
<li><a href="../series/info.html">12&nbsp;stamps</a></li>
358+
</ul>
359+
</div>
360+
</div>
361+
<!--*/-->
341362
</div>
342363

343364
<div class="col-sm-4">

0 commit comments

Comments
 (0)