Skip to content

Commit

Permalink
fix: #1477: use correct student login URL in level editor JS (#1514)
Browse files Browse the repository at this point in the history
* fix: #1477: use correct student login URL in level editor JS

* Merge branch 'master' into fix-1477

Co-Authored-By: Florian Aucomte <[email protected]>
  • Loading branch information
benbacardi and faucomte97 authored Dec 20, 2023
1 parent 19f6f20 commit 469e1c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/static/game/js/level_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2478,7 +2478,7 @@ ocargo.LevelEditor = function(levelId) {

notLoggedInMessages.push(interpolate(gettext('You can log in as a %(student_login_url)s, '
+ '%(teacher_login_url)s or %(independent_login_url)s.'), {
student_login_url: '<a href="' + Urls.student_login() + '">' + pgettext('login_url', 'student') + '</a>',
student_login_url: '<a href="' + Urls.student_login_access_code() + '">' + pgettext('login_url', 'student') + '</a>',
teacher_login_url: '<a href="' + Urls.teacher_login() + '">' + pgettext('login_url', 'teacher') + '</a>',
independent_login_url: '<a href="' + Urls.independent_student_login() + '">'
+ pgettext('login_url', 'independent student') + '</a>'
Expand Down

0 comments on commit 469e1c4

Please sign in to comment.