Fix execution of code via Ajax.

Add output message for program runs without any output
This commit is contained in:
Sebastian Serth
2018-12-13 13:55:45 +01:00
parent d45a68a123
commit 4a1cd3037c
5 changed files with 18 additions and 10 deletions

View File

@ -4,5 +4,5 @@ h1 = @execution_environment
.form-group
label for='command' = t('.command')
input#command.form-control type='text'
pre#output data-message-no-output=t('exercises.implement.no_output')
pre#output data-message-no-output=t('exercises.implement.no_output', timestamp: l(Time.now, format: :short))
p = t('exercises.implement.no_output_yet')