First working version of mails on comments.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="list-group">
|
||||
<h4 class="list-group-item-heading"><%= Exercise.find(@request_for_comment.exercise_id) %></h4>
|
||||
<h4 class="list-group-item-heading" data-rfc-id = "<%= @request_for_comment.id %>" ><%= Exercise.find(@request_for_comment.exercise_id) %></h4>
|
||||
<p class="list-group-item-text">
|
||||
<%
|
||||
user = @request_for_comment.user
|
||||
@@ -101,7 +101,8 @@ do not put a carriage return in the line below. it will be present in the presen
|
||||
file_id: file_id,
|
||||
row: row,
|
||||
column: 0,
|
||||
text: commenttext
|
||||
text: commenttext,
|
||||
request_id: $('h4').data('rfc-id')
|
||||
}
|
||||
},
|
||||
dataType: 'json',
|
||||
|
@@ -1 +1 @@
|
||||
== t('mailers.user_mailer.activation_needed.body', link: link_to(@activation_url, @activation_url))
|
||||
== t('mailers.user_mailer.got_new_comment.body', receiver_displayname: @receiver_displayname, link: link_to(@rfc_link, @rfc_link), commenting_user_displayname: @commenting_user_displayname, comment_text: @comment_text)
|
||||
|
Reference in New Issue
Block a user