Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2022-08-01 00:10:38 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2022-08-01 00:12:00 +0300
commit9485a0263985a5c2a41446e020e02c2accabc2bb (patch)
tree01bf7a345b4cc80009586c8832ff2a5fdb905a8a /app/views/notifier/mentioned.html.haml
parent02eba842aed40e6411fbed8db9e32fcd0e59c642 (diff)
parenteaedd3d26ca7e993e42fba02bc4e4fc5e72ae73e (diff)
Merge branch 'next-minor'v0.7.18.0
Diffstat (limited to 'app/views/notifier/mentioned.html.haml')
-rw-r--r--app/views/notifier/mentioned.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/notifier/mentioned.html.haml b/app/views/notifier/mentioned.html.haml
new file mode 100644
index 000000000..715de7647
--- /dev/null
+++ b/app/views/notifier/mentioned.html.haml
@@ -0,0 +1,9 @@
+- if @notification.post.public?
+ = post_message(@notification.post, html: true)
+- else
+ %p
+ = t("notifier.mentioned.limited_post")
+
+%p
+ = link_to t("notifier.comment_on_post.reply", name: @notification.post.author_first_name),
+ post_url(@notification.post)