-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove PairProgramming23Study and instead use LTI parameter
- Loading branch information
1 parent
dc14225
commit 9dd2ba2
Showing
5 changed files
with
6 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ h1.d-inline-block = t('programming_groups.new.create_programming_pair') | |
#matching data-exercise-id[email protected]_s | ||
.row | ||
.col-12.mt-2.mb-4 | ||
- if PairProgramming23Study.participate_in_pp?(current_user, @exercise) && PairProgramming23Study::FORCED_EXERCISE_IDS.include?(@exercise.id) | ||
- if session[:pair_programming] == 'mandatory' | ||
p = t('programming_groups.new.info_forced_work_together', exercise_title: @exercise.title) | ||
- else | ||
p = t('programming_groups.new.info_work_together', exercise_title: @exercise.title) | ||
|
@@ -32,7 +32,7 @@ h1.d-inline-block = t('programming_groups.new.create_programming_pair') | |
.col-12.d-none.d-md-block | ||
= render('form') | ||
|
||
- unless PairProgramming23Study.participate_in_pp?(current_user, @exercise) && PairProgramming23Study::FORCED_EXERCISE_IDS.include?(@exercise.id) | ||
- unless session[:pair_programming] == 'mandatory' | ||
.row | ||
.col-12 | ||
h5 = t('programming_groups.new.work_alone') | ||
|
This file was deleted.
Oops, something went wrong.