diff options
author | Vitaly Takmazov | 2018-02-26 12:06:10 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-02-26 12:06:10 +0300 |
commit | d91c5508f2172347e18ad93f6048582deda4ae02 (patch) | |
tree | 91b5fb44634f072eb21630bcaf0955766a133380 /juick-www/src/main/resources/templates/views/post_success.html | |
parent | c6bc69cee51066ae2f153208bd995d43637223c9 (diff) |
www: move templates to resources
Diffstat (limited to 'juick-www/src/main/resources/templates/views/post_success.html')
-rw-r--r-- | juick-www/src/main/resources/templates/views/post_success.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/juick-www/src/main/resources/templates/views/post_success.html b/juick-www/src/main/resources/templates/views/post_success.html new file mode 100644 index 00000000..2106f3cb --- /dev/null +++ b/juick-www/src/main/resources/templates/views/post_success.html @@ -0,0 +1,19 @@ +{% extends "layouts/minimal" %} +{% block content %} +<h1>Сообщение опубликовано</h1> +<p>Поделитесь своим новым постом в социальных сетях:</p> +{% if sharetwi | default('') is not empty %} +<p class="social"> + <a href="https://twitter.com/intent/tweet?text={{ sharetwi }}" + class="sharenew"><i data-icon="ei-sc-twitter" data-size="m"></i>Отправить в Twitter</a></p> +{% endif %} +<p class="social"> + <a href="https://vk.com/share.php?url={{ url | urlencode }}" + class="sharenew"><i data-icon="ei-sc-vk" data-size="m"></i>Отправить в ВКонтакте</a></p> +{% if facebook | default('') is not empty %} +<p class="social"> + <a href="https://www.facebook.com/sharer/sharer.php?u={{ url | urlencode }}" + class="sharenew"><i data-icon="ei-sc-facebook" data-size="m"></i>Отправить в Facebook</a></p> +{% endif %} +<p>Ссылка на сообщение: <a href="{{ url | raw }}">{{ url }}</a></p> +{% endblock %}
\ No newline at end of file |