Add checkbox to subscribe to author's comments

This commit is contained in:
Maximilian Grundke
2017-09-06 14:25:18 +02:00
parent cc5da9ccfc
commit f628774995
4 changed files with 10 additions and 0 deletions

View File

@ -127,6 +127,11 @@
}
}
}
input#subscribe {
margin-top: 5px;
margin-right: 5px;
}
}
#myComment {

View File

@ -1,6 +1,9 @@
#otherComments
h5 =t('exercises.implement.comment.others')
.container
label
input#subscribe type='checkbox' title=t('request_for_comments.subscribe_to_author')
= t('request_for_comments.subscribe_to_author')
#myComment
h5 =t('exercises.implement.comment.addyours')

View File

@ -475,6 +475,7 @@ de:
comment_edited: "bearbeitet"
modal_title: "Einen Kommentar in Zeile ${line} hinzufügen"
click_for_more_comments: "Klicken um ${numComments} weitere Kommentare zu sehen..."
subscribe_to_author: "Bei neuen Kommentaren des Autors per E-Mail benachrichtigt werden"
sessions:
create:
failure: Fehlerhafte E-Mail oder Passwort.

View File

@ -496,6 +496,7 @@ en:
comment_edited: "edited"
modal_title: "Add a comment to line ${line}"
click_for_more_comments: "Click to view ${numComments} more comments..."
subscribe_to_author: "Receive E-Mail notifications for new comments of the original author"
sessions:
create:
failure: Invalid email or password.