diff --git a/app/views/exercises/implement.html.slim b/app/views/exercises/implement.html.slim index 39a117850..a811a8eb3 100644 --- a/app/views/exercises/implement.html.slim +++ b/app/views/exercises/implement.html.slim @@ -7,6 +7,10 @@ - unless @embed_options[:hide_exercise_description] .exercise.clearfix div + - if current_contributor.programming_group? + a.btn.btn-primary(href='https://jitsi.fem.tu-ilmenau.de/openHPI_ProgrammingGroup#{current_contributor.id}', target='_blank') + i.fa-solid.fa-video + span= t('exercises.editor.start_video') span.badge.rounded-pill.bg-primary.float-end.score h1 id="exercise-headline" diff --git a/config/locales/de.yml b/config/locales/de.yml index d12c3b188..7fc060771 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -398,6 +398,7 @@ de: send: Senden start_over: Diese Aufgabe zurücksetzen start_over_active_file: Diese Datei zurücksetzen + start_video: Videochat starten stop: Stoppen submit: Code zur Bewertung abgeben deadline: Deadline diff --git a/config/locales/en.yml b/config/locales/en.yml index dd451b770..b7ffa0e33 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -398,6 +398,7 @@ en: send: Send start_over: Reset this exercise start_over_active_file: Reset this file + start_video: Start video chat stop: Stop submit: Submit Code For Assessment deadline: Deadline