diff --git a/app/views/exercises/index.html.slim b/app/views/exercises/index.html.slim index 09d9a229..1f5c9f81 100644 --- a/app/views/exercises/index.html.slim +++ b/app/views/exercises/index.html.slim @@ -15,6 +15,8 @@ h1 = Exercise.model_name.human(count: 2) th = sort_link(@search, :title, t('activerecord.attributes.exercise.title')) th = sort_link(@search, :user_id, t('activerecord.attributes.exercise.user')) th = sort_link(@search, :execution_environment_id, t('activerecord.attributes.exercise.execution_environment')) + th = t('.test_files') + th = t('activerecord.attributes.exercise.maximum_score') th = t('activerecord.attributes.exercise.public') th colspan=6 = t('shared.actions') tbody @@ -23,6 +25,8 @@ h1 = Exercise.model_name.human(count: 2) td = exercise.title td = link_to(exercise.author, exercise.author) td = link_to(exercise.execution_environment, exercise.execution_environment) + td = exercise.files.teacher_defined_tests.count + td = exercise.maximum_score td = symbol_for(exercise.public?) td = link_to(t('shared.show'), exercise) td = link_to(t('shared.edit'), edit_exercise_path(exercise)) diff --git a/config/locales/de.yml b/config/locales/de.yml index b395f15b..bf87c8ed 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -203,6 +203,7 @@ de: index: clone: Duplizieren implement: Implementieren + test_files: Test-Dateien statistics: average_score: Durchschnittliche Punktzahl final_submissions: Finale Abgaben diff --git a/config/locales/en.yml b/config/locales/en.yml index f932f033..1c806ac3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -203,6 +203,7 @@ en: index: clone: Duplicate implement: Implement + test_files: Test Files statistics: average_score: Average Score final_submissions: Final Submissions