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 { #myComment {

View File

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

View File

@ -475,6 +475,7 @@ de:
comment_edited: "bearbeitet" comment_edited: "bearbeitet"
modal_title: "Einen Kommentar in Zeile ${line} hinzufügen" modal_title: "Einen Kommentar in Zeile ${line} hinzufügen"
click_for_more_comments: "Klicken um ${numComments} weitere Kommentare zu sehen..." 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: sessions:
create: create:
failure: Fehlerhafte E-Mail oder Passwort. failure: Fehlerhafte E-Mail oder Passwort.

View File

@ -496,6 +496,7 @@ en:
comment_edited: "edited" comment_edited: "edited"
modal_title: "Add a comment to line ${line}" modal_title: "Add a comment to line ${line}"
click_for_more_comments: "Click to view ${numComments} more comments..." 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: sessions:
create: create:
failure: Invalid email or password. failure: Invalid email or password.