Merge branch '80-no-records-message' into 'dev'
Resolve "Добавить сообщения на пустые страницы" Closes #80 See merge request romanov73/ng-tracker!37environments/staging/deployments/4
commit
7269f45662
@ -0,0 +1,17 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||||||
|
<head th:fragment="headerfiles">
|
||||||
|
<meta charset="UTF-8"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div th:fragment="noRecords(entities, noRecordsMessage, url)" class="col-12 text-center"
|
||||||
|
style="background-color: white;">
|
||||||
|
<div th:if="*{#lists.isEmpty(entities)}">
|
||||||
|
<div th:text="'Еще не создано ни'+${noRecordsMessage}"/>
|
||||||
|
<a th:href="@{${url}+'?id=0'}">
|
||||||
|
Перейдите по ссылке, чтобы добавить
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue