deleted search modal. reused roc modal for search modal. also added translations

This commit is contained in:
Thomas Hille
2017-03-08 14:34:24 +01:00
parent 325c44c1fb
commit bd0721da2e
6 changed files with 16 additions and 24 deletions

View File

@@ -1,11 +1 @@
/h5 = t('exercises.implement.comment.question')
/textarea.form-control#question(style='resize:none;')
p = "Uns ist aufgefallen, dass du schon lange an dieser Aufgabe sitzt. Möchtest du vielleicht mal eine Pause machen um auf neue Gedanken zu kommen?"
/p = "AVG: #{@working_time_avg}"
/p = "ACCUMULATED: #{@working_time_accumulated}"
/ data-cause='requestComments' is not used here right now, we pass the button #requestComments (not askForCommentsButton) as initiator of the action.
/ But if we use this button, it will work since the correct cause is supplied
/button#askForCommentsButton.btn.btn-block.btn-primary(type='button' data-cause='requestComments' data-message-success=t('exercises.editor.request_for_comments_sent')) =t('exercises.implement.comment.request')
h5 = t('exercises.implement.break_intervention.text')