Skip to content

Commit

Permalink
add instance specific html
Browse files Browse the repository at this point in the history
  • Loading branch information
davwas committed Sep 21, 2023
1 parent f2a18c0 commit d8c507e
Showing 1 changed file with 21 additions and 5 deletions.
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">
{{$t "administration.form_InvitationStudent.label.distributeLinkToInviteShort" (dict "shortTitle" @root.theme.theme_title)}}
</label>
{{else}}
{{#ifeq @root.theme.name "n21"}}
<label for="invitation-link">
{{$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>

0 comments on commit d8c507e

Please sign in to comment.