publiclab/plots2

View on GitHub
app/views/comment_mailer/notify_barnstar.html.erb

Summary

Maintainability
Test Coverage
'<a href='https://<%= ActionMailer::Base.default_url_options[:host] %>/profile/<%= @giver.name %>'><%= @giver.name %></a>' has awarded you a '<a href='https://<%= ActionMailer::Base.default_url_options[:host] %>/wiki/barnstars'>Barnstar</a>' for your work in the research note '<a href='https://<%= ActionMailer::Base.default_url_options[:host] %><%= @note.path %>'><%= @note.title %></a>'. You can reply to this email or visit this link:

<p>https://<%= ActionMailer::Base.default_url_options[:host] %><%= @note.path %></p>

The barnstar will appear on your profile, at https://<%= ActionMailer::Base.default_url_options[:host] %>/profile/<%= @note.author.name %>

<hr /> 

<div style="color:#aaa;">

<p>Reply at: https://<%= ActionMailer::Base.default_url_options[:host] %><%= @note.path %>#comments</p>

<p>Report abuse to: moderators@<%= ActionMailer::Base.default_url_options[:host] %></p>

<%= @footer %>

</div>