Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-5041 - Remove consent notice in manual registration (SC BB & NBC) #3310

Merged
merged 7 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@
},
"form_InvitationStudent": {
"label": {
"distributeLinkToInvite": "Um in die {{shortTitle}} einzuladen, verteile folgenden Link an:"
"distributeLinkToInvite": "Um in die {{shortTitle}} einzuladen, verteile folgenden Link an:",
"distributeLinkToInviteShort": "Um in die {{shortTitle}} einzuladen, muss folgender Link verteilt werden:"
},
"text": {
"beforeTheSchoolCloudCanBeUsed": "Bevor die Nutzung der {{shortTitle}} möglich ist, müssen Eltern und/oder Schüler:innen den elektronischen Einwilligungsprozess durchlaufen haben.",
Expand Down
3 changes: 2 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@
},
"form_InvitationStudent": {
"label": {
"distributeLinkToInvite": "To invite to the {{shortTitle}}, send the following link to:"
"distributeLinkToInvite": "To invite to the {{shortTitle}}, send the following link to:",
"distributeLinkToInviteShort": "To invite to the {{shortTitle}}, send the following link:"
},
"text": {
"beforeTheSchoolCloudCanBeUsed": "Before the use of the {{shortTitle}} is possible, parents and / or students must have gone through the electronic consent process.",
Expand Down
3 changes: 2 additions & 1 deletion locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@
},
"form_InvitationStudent": {
"label": {
"distributeLinkToInvite": "Para invitar a la {{shortTitle}}, envía el siguiente enlace a:"
"distributeLinkToInvite": "Para invitar a la {{shortTitle}}, envía el siguiente enlace a:",
"distributeLinkToInviteShort": "Para invitar a la {{shortTitle}}, envía el siguiente enlace:"
},
"text": {
"beforeTheSchoolCloudCanBeUsed": "Antes de que sea posible el uso de la {{shortTitle}}, los padres y/o estudiantes deben haber pasado por el proceso de consentimiento electrónico.",
Expand Down
3 changes: 2 additions & 1 deletion locales/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,8 @@
"studentUnderYears": "<b>Учні віком до {{age}} років: </b> батьки <br/> <b> Учні віком від {{age}} років: </b> самі учні <br/>"
},
"label": {
"distributeLinkToInvite": "Щоб запросити до {{shortTitle}}, відправте це посилання на:"
"distributeLinkToInvite": "Щоб запросити до {{shortTitle}}, відправте це посилання на:",
"distributeLinkToInviteShort": "Щоб запросити на {{shortTitle}}, надішліть наступне посилання:"
}
},
"form_InvitationTeacher": {
Expand Down
26 changes: 21 additions & 5 deletions views/administration/forms/form-invitation-student.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
<input name="schoolId" type="hidden" data-force-value="true" value="{{currentSchool}}" />
<div class="form-group">
<label for="invitation-link">{{$t "administration.form_InvitationStudent.label.distributeLinkToInvite" (dict "shortTitle" @root.theme.short_title)}} </label>
<p>
{{{$t "administration.form_InvitationStudent.text.studentUnderYears" (dict "age" CONSENT_WITHOUT_PARENTS_MIN_AGE_YEARS)}}}
</p>
<p>{{$t "administration.form_InvitationStudent.text.beforeTheSchoolCloudCanBeUsed" (dict "shortTitle" @root.theme.short_title) }}</p>
{{#ifeq @root.theme.name "brb"}}
<label for="invitation-link" class="mb-1">
{{$t "administration.form_InvitationStudent.label.distributeLinkToInviteShort" (dict "shortTitle" @root.theme.theme_title)}}
</label>
{{else}}
{{#ifeq @root.theme.name "n21"}}
<label for="invitation-link" class="mb-1">
{{$t "administration.form_InvitationStudent.label.distributeLinkToInviteShort" (dict "shortTitle" @root.theme.theme_title)}}
</label>
{{else}}
<label for="invitation-link">
{{$t "administration.form_InvitationStudent.label.distributeLinkToInvite" (dict "shortTitle" @root.theme.short_title)}}
</label>
<p>
{{{$t "administration.form_InvitationStudent.text.studentUnderYears" (dict "age" CONSENT_WITHOUT_PARENTS_MIN_AGE_YEARS)}}}
</p>
<p>
{{$t "administration.form_InvitationStudent.text.beforeTheSchoolCloudCanBeUsed" (dict "shortTitle" @root.theme.short_title) }}
</p>
{{/ifeq}}
{{/ifeq}}
<input id="invitation-link" class="form-control" name="invitation" type="text" />
</div>