From 918da5270dddb74fd9b985ef7f18547f4b8c5d5c Mon Sep 17 00:00:00 2001 From: Ralf Teusner Date: Wed, 22 Jun 2016 13:06:35 +0200 Subject: [PATCH] added id for h4 holding the rfc-id updated locales. --- app/views/request_for_comments/show.html.erb | 4 ++-- config/locales/de.yml | 2 ++ config/locales/en.yml | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/request_for_comments/show.html.erb b/app/views/request_for_comments/show.html.erb index 1d6bb54c..3f353e32 100644 --- a/app/views/request_for_comments/show.html.erb +++ b/app/views/request_for_comments/show.html.erb @@ -1,5 +1,5 @@
-

<%= Exercise.find(@request_for_comment.exercise_id) %>

+

<%= Exercise.find(@request_for_comment.exercise_id) %>

<% 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', diff --git a/config/locales/de.yml b/config/locales/de.yml index a3b580b5..a4d69694 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -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.' diff --git a/config/locales/en.yml b/config/locales/en.yml index 1162971d..28344446 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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.'