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:
Diffstat (limited to 'app/views/notifier/mentioned_in_comment.text.erb')
-rw-r--r--app/views/notifier/mentioned_in_comment.text.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/notifier/mentioned_in_comment.text.erb b/app/views/notifier/mentioned_in_comment.text.erb
new file mode 100644
index 000000000..8f327a2a6
--- /dev/null
+++ b/app/views/notifier/mentioned_in_comment.text.erb
@@ -0,0 +1,8 @@
+<% if @notification.comment.public? %>
+<%= @notification.comment.message.plain_text_without_markdown %>
+<% else %>
+<%= t("notifier.mentioned_in_comment.limited_post") %>
+<% end %>
+
+<%= t("notifier.mentioned_in_comment.reply") %>
+<%= post_url(@notification.comment.parent, anchor: @notification.comment.guid) %>