Skip to content

Commit

Permalink
add link to post (#1572)
Browse files Browse the repository at this point in the history
The updatd line adds link to the post where user can view it.
  • Loading branch information
StlMaris123 authored and jywarren committed Aug 10, 2017
1 parent 2b2e757 commit 55b6d8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/subscription_mailer/notify_tag_added.html.erb
Expand Up @@ -3,6 +3,7 @@
<p>Public Lab contributor <a href='https://<%= ActionMailer::Base.default_url_options[:host] %>/profile/<%= @current_user.username %>'><%= @current_user.username %></a> just added a tag
on '<b><%= @node.title %></b>' entitled: <b> <%= @tag.name %></b></p>

<p>Read and respond to the post here: https://<%= ActionMailer::Base.default_url_options[:host] %><%= @node.path %></p>

<% if @user.role == "admin" || @user.role == "moderator" %>Does this look like spam? <a class="btn btn-sm" href="https://<%= ActionMailer::Base.default_url_options[:host] %>/moderate/spam/<%= @node.id %>">Spam</a><% end %>

Expand Down

0 comments on commit 55b6d8c

Please sign in to comment.