aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/post_success.html
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/post_success.html')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/post_success.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/post_success.html b/juick-www/src/main/webapp/WEB-INF/views/post_success.html
new file mode 100644
index 00000000..dd96495f
--- /dev/null
+++ b/juick-www/src/main/webapp/WEB-INF/views/post_success.html
@@ -0,0 +1,22 @@
+{% extends "layouts/content" %}
+{% 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="ico32-twi sharenew">Отправить в Twitter</a></p>
+{% endif %}
+<p class="social">
+ <a href="https://vk.com/share.php?url={{ url | urlencode }}"
+ class="ico32-vk sharenew">Отправить в ВКонтакте</a></p>
+{%if facebook | default('') is not empty %}
+<p class="social">
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ url | urlencode }}"
+ class="ico32-fb sharenew">Отправить в Facebook</a></p>
+{% endif %}
+<p>Ссылка на сообщение: <a href="{{ url | urlencode }}">{{ url | raw }}</a></p>
+{% endblock %}
+{% block "column" %}
+{% include "views/partial/usercolumn" %}
+{% endblock %} \ No newline at end of file