mirror of https://github.com/usbharu/Hideout.git
refactor: Thymeleafの警告をなくした
This commit is contained in:
parent
7362d20565
commit
9b60099ad9
|
@ -6,7 +6,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
<div th:replace="fragments-timeline :: simple-timline(${timeline},'/home')"></div>
|
<div th:replace="~{fragments-timeline :: simple-timline(${timeline},'/home')}"></div>
|
||||||
</noscript>
|
</noscript>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -20,24 +20,24 @@
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
<th:block th:if=" ${post.reply != null}">
|
<th:block th:if=" ${post.reply != null}">
|
||||||
<th:block th:replace="fragments-post :: single-simple-post(${post.reply})"></th:block>
|
<th:block th:replace="~{fragments-post :: single-simple-post(${post.reply})}"></th:block>
|
||||||
<hr>
|
<hr>
|
||||||
</th:block>
|
</th:block>
|
||||||
<main>
|
<main>
|
||||||
<p th:if="${post.pureRepost}" th:text="#{post.repost-by(${post.actor.name})}">Repost by user</p>
|
<p th:if="${post.pureRepost}" th:text="#{post.repost-by(${post.actor.name})}">Repost by user</p>
|
||||||
<th:block th:unless="${post.pureRepost}">
|
<th:block th:unless="${post.pureRepost}">
|
||||||
<th:block th:replace="fragments-post :: single-simple-post(${post})"></th:block>
|
<th:block th:replace="~{fragments-post :: single-simple-post(${post})}"></th:block>
|
||||||
<th:block th:replace="fragments-post :: single-post-controller(${post})"></th:block>
|
<th:block th:replace="~{fragments-post :: single-post-controller(${post})}"></th:block>
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:if="${post.pureRepost}">
|
<th:block th:if="${post.pureRepost}">
|
||||||
<th:block th:replace="fragments-post :: single-simple-post(${post.repost})"></th:block>
|
<th:block th:replace="~{fragments-post :: single-simple-post(${post.repost})}"></th:block>
|
||||||
<th:block th:replace="fragments-post :: single-post-controller(${post.repost})"></th:block>
|
<th:block th:replace="~{fragments-post :: single-post-controller(${post.repost})}"></th:block>
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
<th:block th:if="${post.repost != null && !post.pureRepost}">
|
<th:block th:if="${post.repost != null && !post.pureRepost}">
|
||||||
<hr>
|
<hr>
|
||||||
<th:block th:replace="fragments-post :: single-simple-post(${post.repost})"></th:block>
|
<th:block th:replace="={fragments-post :: single-simple-post(${post.repost})}"></th:block>
|
||||||
<cite th:text="${post.repost.apId}"></cite>
|
<cite th:text="${post.repost.apId}"></cite>
|
||||||
</th:block>
|
</th:block>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
Loading…
Reference in New Issue