aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/posted.html
blob: 25432c2c7fbd97e1aa4beca4613bc220e90118d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{layout/mainLayout}">
<head>
    <title th:if="${#authorization.expression('isAuthenticated()')}" th:text="${title}">Page title</title>
</head>

<body>
<article layout:fragment="content">
    <h1>Сообщение опубликовано</h1>
    <p>Поделитесь своим новым постом в социальных сетях:</p>
    <p class="social" th:if="${sharetwi} != null">
        <a
                th:href="|https://twitter.com/intent/tweet?text=${sharetwi}|"
                class="ico32-twi sharenew">Отправить в Twitter</a>
    </p>
    <p class="social">
        <a th:href="|http://www.livejournal.com/update.bml?subject=${hashtags}&event=${sharelj}&prop_taglist=${tagscomma}|"
           target="_blank" class="ico32-lj sharenew">Отправить в LiveJournal</a>
    </p>
    <p class="social">
        <a th:href="|https://vk.com/share.php?url=${url}|" class="ico32-vk sharenew">Отправить в ВКонтакте</a>
    </p>
    <p class="social">
        <a th:href="|https://www.facebook.com/sharer/sharer.php?u=${url}|"
           class="ico32-fb sharenew">Отправить в Facebook</a>
    </p>
    <p>Ссылка на сообщение:
        <a th:href="|http://juick.com/${mid}|" th:text="|http://juick.com/${mid}|">http://juick.com/12345
        </a>
    </p>
</article>

<aside id="column">
    <p layout:fragment="column" th:replace="views/partial/homecolumn">Main side column</p>
</aside>

</body>
</html>