Add user name to etherpad pp feedback

This commit is contained in:
kiragrammel
2023-09-13 13:27:18 +02:00
committed by Sebastian Serth
parent 22bdb71ecc
commit 65bf7b6e98
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
- if current_contributor.programming_group?
.small.text-body-tertiary
== t('exercises.implement.pair_programming_feedback', url: 'https://etherpad.xopic.de/p/openHPI_PairProgrammingFeedback')
== t('exercises.implement.pair_programming_feedback', url: "https://etherpad.xopic.de/p/openHPI_PairProgrammingFeedback?userName=#{CGI.escape(current_user.displayname)}")
a#toggle href="#" data-show=t('shared.show') data-hide=t('shared.hide')
- if @embed_options[:collapse_exercise_description]

View File

@ -1,6 +1,6 @@
= render_markdown(t('programming_groups.new.info_pair_programming'))
= render_markdown(t('programming_groups.new.info_study'))
== t('exercises.implement.pair_programming_feedback', url: 'https://etherpad.xopic.de/p/openHPI_PairProgrammingFeedback')
== t('exercises.implement.pair_programming_feedback', url: "https://etherpad.xopic.de/p/openHPI_PairProgrammingFeedback?userName=#{CGI.escape(current_user.displayname)}")
- content_for :modal_footer do
button.btn.btn-secondary#dont_show_info_pp_modal_again data-bs-dismiss='modal'