From 37aac677d1369ae86fd247bd1e8c38a80a836b11 Mon Sep 17 00:00:00 2001 From: yqbk Date: Wed, 3 Aug 2016 14:37:55 +0200 Subject: [PATCH] remove author --- app/views/exercises/index.html.slim | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/exercises/index.html.slim b/app/views/exercises/index.html.slim index 3a7bec22..9ad5cc25 100644 --- a/app/views/exercises/index.html.slim +++ b/app/views/exercises/index.html.slim @@ -13,7 +13,6 @@ h1 = Exercise.model_name.human(count: 2) thead tr 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') @@ -27,7 +26,6 @@ h1 = Exercise.model_name.human(count: 2) - @exercises.each do |exercise| tr data-id=exercise.id td = exercise.title - td = link_to_if(exercise.author && policy(exercise.author).show?, exercise.author, exercise.author) td = link_to_if(exercise.execution_environment && policy(exercise.execution_environment).show?, exercise.execution_environment, exercise.execution_environment) td = exercise.files.teacher_defined_tests.count td = exercise.maximum_score