mirror of
https://github.com/Prominence/car-repair-site.git
synced 2026-01-09 19:56:43 +03:00
Added view for error page.
This commit is contained in:
parent
c9860f2e15
commit
3b5da6ff81
@ -48,3 +48,6 @@ common.deleteConfirmation.label = Are you sure to delete?
|
|||||||
error.finishedOn.finishedBeforeStarted = value must be after starting date
|
error.finishedOn.finishedBeforeStarted = value must be after starting date
|
||||||
error.finishedOn.incompatibleStatus = order cannot be finished until it isn't accepted by client
|
error.finishedOn.incompatibleStatus = order cannot be finished until it isn't accepted by client
|
||||||
error.orderStatus.acceptedButNotFinished = order cannot be accepter until it isn't finished
|
error.orderStatus.acceptedButNotFinished = order cannot be accepter until it isn't finished
|
||||||
|
|
||||||
|
http.error.title = Something went wrong.
|
||||||
|
http.error.message = Please, go to the home page or contact administrator.
|
||||||
|
|||||||
@ -48,3 +48,6 @@ common.deleteConfirmation.label = Are you sure to delete?
|
|||||||
error.finishedOn.finishedBeforeStarted = value must be after starting date
|
error.finishedOn.finishedBeforeStarted = value must be after starting date
|
||||||
error.finishedOn.incompatibleStatus = order cannot be finished until it isn't accepted by client
|
error.finishedOn.incompatibleStatus = order cannot be finished until it isn't accepted by client
|
||||||
error.orderStatus.acceptedButNotFinished = order cannot be accepter until it isn't finished
|
error.orderStatus.acceptedButNotFinished = order cannot be accepter until it isn't finished
|
||||||
|
|
||||||
|
http.error.title = Something went wrong.
|
||||||
|
http.error.message = Please, go to the home page or contact administrator.
|
||||||
|
|||||||
@ -48,3 +48,6 @@ common.deleteConfirmation.label = Вы действительно хотите
|
|||||||
error.finishedOn.finishedBeforeStarted = дата окончания должна быть после даты начала
|
error.finishedOn.finishedBeforeStarted = дата окончания должна быть после даты начала
|
||||||
error.finishedOn.incompatibleStatus = заказ не может быть закончен если клиент еще не принял его
|
error.finishedOn.incompatibleStatus = заказ не может быть закончен если клиент еще не принял его
|
||||||
error.orderStatus.acceptedButNotFinished = заказ не может быть принят пока он не закончен
|
error.orderStatus.acceptedButNotFinished = заказ не может быть принят пока он не закончен
|
||||||
|
|
||||||
|
http.error.title = Что-то пошло не так.
|
||||||
|
http.error.message = Пожалуйста, вернитесь на домашнюю страницу или обратитесь к администратору.
|
||||||
|
|||||||
17
src/main/resources/templates/error.html
Normal file
17
src/main/resources/templates/error.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
|
layout:decorate="~{main}">
|
||||||
|
<head>
|
||||||
|
<title th:text="#{default.title}"></title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div layout:fragment="header">
|
||||||
|
<h1 th:text="#{home.title.label}"></h1>
|
||||||
|
</div>
|
||||||
|
<div layout:fragment="content">
|
||||||
|
<h2 th:text="#{http.error.title}">404 Not Found</h2>
|
||||||
|
<p th:text="#{http.error.message}"></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user