changed name of intervention modal, timer in editor.js set text now. some time calculations in editor for interventions

This commit is contained in:
Thomas Hille
2017-02-27 17:19:51 +01:00
parent b82018dd8f
commit 2456f46b2b
3 changed files with 28 additions and 6 deletions

View File

@@ -22,4 +22,4 @@
= render('shared/modal', id: 'comment-modal', title: t('exercises.implement.comment.request'), template: 'exercises/_request_comment_dialogcontent')
= render('shared/modal', id: 'intervention-modal', title: 'Leg mal eine Pause ein', template: 'interventions/_working_too_long')
= render('shared/modal', id: 'intervention-modal', title: 'Leg mal eine Pause ein', template: 'interventions/_intervention_modal')

View File

@@ -2,8 +2,8 @@
h5 = 'Aufpassen!'
/textarea.form-control#question(style='resize:none;')
p = 'Uns ist aufgefallen, dass Sie schon sehr lange an dieser Aufgabe sitzen. Wollen Sie nicht vielleicht mal eine Pause einlegen?'
#avg-working-time
p = 'Uns ist aufgefallen, dass Sie schon sehr lange an dieser Aufgabe sitzen.'
#intervention-text
/p = "AVG: #{@working_time_avg}"
/p = "ACCUMULATED: #{@working_time_accumulated}"