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