From 5e23fbb61f9484b7155ea103fa6b95488b9b3456 Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Thu, 26 Nov 2015 12:59:36 +0100 Subject: [PATCH] Add editor editor to code evolution page --- .../exercises/external_users/statistics.html.slim | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/views/exercises/external_users/statistics.html.slim b/app/views/exercises/external_users/statistics.html.slim index 489a7e21..aa49f96b 100644 --- a/app/views/exercises/external_users/statistics.html.slim +++ b/app/views/exercises/external_users/statistics.html.slim @@ -1 +1,11 @@ -h1 = "#{@exercise} for external user #{@external_user}" \ No newline at end of file +h1 = "#{@exercise} (external user #{@external_user})" + +#editor.row data-exercise-id=@exercise.id data-message-depleted=t('exercises.editor.depleted') data-user-id=@external_user.id + div class=(@exercise.hide_file_tree ? 'hidden col-sm-3' : 'col-sm-3') id='files' data-entries=FileTree.new(@exercise.files).to_js_tree + div id='frames' class=(@exercise.hide_file_tree ? 'col-sm-12' : 'col-sm-9') + - @exercise.files.each do |file| + = render('editor_frame', exercise: @exercise, file: file) + +#slider + +#timeline