added id for h4 holding the rfc-id

updated locales.
This commit is contained in:
Ralf Teusner
2016-06-22 13:06:35 +02:00
parent ec26a095f6
commit 918da5270d
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<div class="list-group"> <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"> <p class="list-group-item-text">
<% <%
user = @request_for_comment.user 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, row: row,
column: 0, column: 0,
text: commenttext, text: commenttext,
request_id: $('h4').data('rfc-id') request_id: $('h4#exercise_caption').data('rfc-id')
} }
}, },
dataType: 'json', dataType: 'json',

View File

@ -331,6 +331,8 @@ de:
es gibt einen neuen Kommentar von %{commenting_user_displayname} zu Ihrer Kommentaranfrage auf CodeOcean. es gibt einen neuen Kommentar von %{commenting_user_displayname} zu Ihrer Kommentaranfrage auf CodeOcean.
Sie finden ihn hier: %{link} 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. subject: Sie haben einen neuen Kommentar von %{commenting_user_displayname} auf CodeOcean erhalten.
reset_password: reset_password:
body: 'Bitte besuchen Sie %{link}, sofern Sie Ihr Passwort zurücksetzen wollen.' body: 'Bitte besuchen Sie %{link}, sofern Sie Ihr Passwort zurücksetzen wollen.'

View File

@ -332,8 +332,7 @@ en:
you received a new comment from %{commenting_user_displayname} to your request for comments on CodeOcean. you received a new comment from %{commenting_user_displayname} to your request for comments on CodeOcean.
You can find it here: %{link} You can find it here: %{link}
Best regards, This mail was automatically sent by CodeOcean.
your Teaching Team
subject: 'You received a new comment on CodeOcean from %{commenting_user_displayname}.' subject: 'You received a new comment on CodeOcean from %{commenting_user_displayname}.'
reset_password: reset_password:
body: 'Please visit %{link} if you want to reset your password.' body: 'Please visit %{link} if you want to reset your password.'