added token to proxy exercise view, also added locale
This commit is contained in:
@ -10,7 +10,7 @@ h1 = ProxyExercise.model_name.human(count: 2)
|
|||||||
thead
|
thead
|
||||||
tr
|
tr
|
||||||
th = sort_link(@search, :title, t('activerecord.attributes.proxy_exercise.title'))
|
th = sort_link(@search, :title, t('activerecord.attributes.proxy_exercise.title'))
|
||||||
th = "Token"
|
th = t('activerecord.attributes.exercise.token')
|
||||||
th = t('activerecord.attributes.proxy_exercise.files_count')
|
th = t('activerecord.attributes.proxy_exercise.files_count')
|
||||||
th colspan=6 = t('shared.actions')
|
th colspan=6 = t('shared.actions')
|
||||||
tbody
|
tbody
|
||||||
|
@ -10,6 +10,7 @@ h1
|
|||||||
= row(label: 'exercise.title', value: @proxy_exercise.title)
|
= row(label: 'exercise.title', value: @proxy_exercise.title)
|
||||||
= row(label: 'proxy_exercise.files_count', value: @exercises.count)
|
= row(label: 'proxy_exercise.files_count', value: @exercises.count)
|
||||||
= row(label: 'exercise.description', value: @proxy_exercise.description)
|
= row(label: 'exercise.description', value: @proxy_exercise.description)
|
||||||
|
= row(label: 'exercise.token', value: @proxy_exercise.token)
|
||||||
h3 Exercises
|
h3 Exercises
|
||||||
.table-responsive
|
.table-responsive
|
||||||
table.table
|
table.table
|
||||||
|
@ -42,6 +42,7 @@ de:
|
|||||||
allow_file_creation: "Dateierstellung erlauben"
|
allow_file_creation: "Dateierstellung erlauben"
|
||||||
difficulty: Schwierigkeitsgrad
|
difficulty: Schwierigkeitsgrad
|
||||||
worktime: "vermutete Arbeitszeit in Minuten"
|
worktime: "vermutete Arbeitszeit in Minuten"
|
||||||
|
token: "Aufgaben-Token"
|
||||||
proxy_exercise:
|
proxy_exercise:
|
||||||
title: Title
|
title: Title
|
||||||
files_count: Anzahl der Aufgaben
|
files_count: Anzahl der Aufgaben
|
||||||
|
@ -42,6 +42,7 @@ en:
|
|||||||
allow_file_creation: "Allow file creation"
|
allow_file_creation: "Allow file creation"
|
||||||
difficulty: Difficulty
|
difficulty: Difficulty
|
||||||
worktime: "Expected worktime in minutes"
|
worktime: "Expected worktime in minutes"
|
||||||
|
token: "Exercise Token"
|
||||||
proxy_exercise:
|
proxy_exercise:
|
||||||
title: Title
|
title: Title
|
||||||
files_count: Exercises Count
|
files_count: Exercises Count
|
||||||
|
Reference in New Issue
Block a user