Implement request modal

This commit is contained in:
Maximilian Grundke
2016-04-30 12:55:58 +02:00
parent 8ba67c68c0
commit 027c6013eb
4 changed files with 10 additions and 0 deletions

View File

@ -37,3 +37,5 @@
i.fa.fa-rocket i.fa.fa-rocket
= t('exercises.editor.test') = t('exercises.editor.test')
= render('editor_button', data: {:'data-placement' => 'top', :'data-tooltip' => true}, icon: 'fa fa-trophy', id: 'assess', label: t('exercises.editor.score'), title: t('shared.tooltips.shortcut', shortcut: 'ALT + s')) = render('editor_button', data: {:'data-placement' => 'top', :'data-tooltip' => true}, icon: 'fa fa-trophy', id: 'assess', label: t('exercises.editor.score'), title: t('shared.tooltips.shortcut', shortcut: 'ALT + s'))
= render('shared/modal', id: 'comment-modal', title: t('exercises.implement.comment.request'), template: 'exercises/_request_comment_dialogcontent')

View File

@ -0,0 +1,4 @@
h5 = t('exercises.implement.comment.question')
textarea.form-control#question(style='resize:none;')
p = ''
button#askForCommentsButton.btn.btn-block.btn-primary(type='button') =t('exercises.implement.comment.request')

View File

@ -245,6 +245,8 @@ de:
addComment: Kommentieren addComment: Kommentieren
removeAllOnLine: Alle Kommentare auf dieser Zeile löschen removeAllOnLine: Alle Kommentare auf dieser Zeile löschen
listing: Die neuesten Kommentaranfragen listing: Die neuesten Kommentaranfragen
request: "Kommentaranfrage stellen"
question: "Was ist Ihre Frage? (optional)"
index: index:
clone: Duplizieren clone: Duplizieren
implement: Implementieren implement: Implementieren

View File

@ -245,6 +245,8 @@ en:
addComment: Comment this addComment: Comment this
removeAllOnLine: Remove all comments on this line removeAllOnLine: Remove all comments on this line
listing: Listing the newest comment requests listing: Listing the newest comment requests
request: "Request Comments"
question: "What is your question? (optional)"
index: index:
clone: Duplicate clone: Duplicate
implement: Implement implement: Implement