Skip to content

Commit

Permalink
Add button to start (video) chat with programming group
Browse files Browse the repository at this point in the history
  • Loading branch information
kiragrammel committed Aug 31, 2023
1 parent a8b9275 commit 38e0177
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/exercises/implement.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38e0177

Please sign in to comment.