added id for h4 holding the rfc-id
updated locales.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<div class="list-group">
|
||||
<h4 class="list-group-item-heading" data-rfc-id = "<%= @request_for_comment.id %>" ><%= Exercise.find(@request_for_comment.exercise_id) %></h4>
|
||||
<h4 id ="exercise_caption" 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
|
||||
@ -102,7 +102,7 @@ do not put a carriage return in the line below. it will be present in the presen
|
||||
row: row,
|
||||
column: 0,
|
||||
text: commenttext,
|
||||
request_id: $('h4').data('rfc-id')
|
||||
request_id: $('h4#exercise_caption').data('rfc-id')
|
||||
}
|
||||
},
|
||||
dataType: 'json',
|
||||
|
@ -331,6 +331,8 @@ de:
|
||||
|
||||
es gibt einen neuen Kommentar von %{commenting_user_displayname} zu Ihrer Kommentaranfrage auf CodeOcean.
|
||||
Sie finden ihn hier: %{link}
|
||||
|
||||
Diese Mail wurde automatisch von CodeOcean verschickt.
|
||||
subject: Sie haben einen neuen Kommentar von %{commenting_user_displayname} auf CodeOcean erhalten.
|
||||
reset_password:
|
||||
body: 'Bitte besuchen Sie %{link}, sofern Sie Ihr Passwort zurücksetzen wollen.'
|
||||
|
@ -332,8 +332,7 @@ en:
|
||||
you received a new comment from %{commenting_user_displayname} to your request for comments on CodeOcean.
|
||||
You can find it here: %{link}
|
||||
|
||||
Best regards,
|
||||
your Teaching Team
|
||||
This mail was automatically sent by CodeOcean.
|
||||
subject: 'You received a new comment on CodeOcean from %{commenting_user_displayname}.'
|
||||
reset_password:
|
||||
body: 'Please visit %{link} if you want to reset your password.'
|
||||
|
Reference in New Issue
Block a user