aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html
diff options
context:
space:
mode:
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html')
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html54
1 files changed, 0 insertions, 54 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html
deleted file mode 100644
index 5d808f98..00000000
--- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<th:block th:each="msg:${msgs}" xmlns:th="http://www.thymeleaf.org">
- <article th:data-mid="${msg.getMid()}">
- <header class="u">
- @<a th:href="|/${msg.getUser().getName()}/|" th:text="${msg.getUser().getName()}">ugnich</a>:
- <div class="msg-avatar">
- <a th:href="|/${msg.getUser().getName()}/|">
- <img th:src="|//i.juick.com/a/${msg.getUser().getUid()}.png|"
- th:alt="${msg.getUser().getName()}"/>
- </a>
- </div>
- <div class="msg-ts">
- <a th:href="|/${msg.getUser().getName()}/${msg.getMid()}|">
- <time th:datetime="|${msg.getDate()}Z|"
- th:title="|${msg.getDate()} GMT|"
- th:text="${msg.getDate()}">01.01.1970
- </time>
- </a>
- </div>
- <div class="msg-tags" th:text="${msg.getTagsString()}"></div>
- </header>
- <p class="ir" th:if="${msg.getAttachmentType() != null}">
- <a href="|//i.juick.com/photos-512/${msg.getMid()}.${msg.getAttachmentType()}|">
- <img src="|//i.juick.com/photos-512/${msg.getMid()}.${msg.getAttachmentType()}|"
- th:data-fname="|${msg.getMid()}.${msg.getAttachmentType()}|" alt=""/></a>
- </p>
- <p th:utext="${msg.getText()}">Lorem ipsum</p>
- <div class="irbr" th:if="${msg.getAttachmentType() != null}"></div>
- <nav class="l">
- <th:block th:switch="${#authorization.expression('isAuthenticated()')}">
- <a th:case="false" class="a-login" th:href="|/${msg.getMid()}/|" th:text="#{message.recommend}">Recommend</a>
- <a th:case="true" class="a-like" th:href="|/post?body=!+%23${msg.getMid()}/|" th:text="#{message.recommend}">Recommend</a>
- </th:block>
- <a th:if="${#authorization.expression('isAuthenticated()') == false && !msg.ReadOnly}" class="a-login"
- th:href="|/${msg.getMid()}/|" th:text="#{message.comment}">Comment</a>
- <a th:if="${#authorization.expression('isAuthenticated()') == true && !msg.ReadOnly}"
- class="a-comment" th:href="|/${msg.getMid()}/|" th:text="#{message.comment}">Comment</a>
-
- <th:block th:if="${#authorization.expression('hasRole(''ROLE_ADMIN'')')}">
- <a href="#" class="a-popular-plus">+</a>
- <a href="#" class="a-popular-minus">-</a>
- <a href="#" class="a-popular-delete">x</a>
- </th:block>
- </nav>
- <nav class="s">
- <a th:if="${msg.getLikes() > 0}" th:href="|/${msg.getUser().getName()}/${msg.getMid()}|"
- class="likes"><i data-icon="ei-heart" data-size="s"></i>
- <span th:text="${msg.getLikes()}" th:remove="tag">&nbsp;10</span></a>
- <a th:if="${msg.getReplies() > 0}" th:href="|/${msg.getUser().getName()}/${msg.getMid()}|"
- class="replies"><i data-icon="ei-comment" data-size="s"></i>
- <span th:text="${msg.getReplies()}" th:remove="tag">&nbsp;42</span>
- </a>
- </nav>
- </article>
-</th:block> \ No newline at end of file