1
0
forked from PGL/Clyde

Translation of the student inscription extension and profile

This commit is contained in:
2024-04-21 03:08:27 +02:00
parent 061f329020
commit e8bf0d953d
15 changed files with 350 additions and 177 deletions

View File

@ -46,7 +46,7 @@ function isExempted(course){
<template style="margin-top:5%;">
<div v-if="list == true">
<span>Selected Cursus : </span>
<span>{{i18n("selectedcursus")}} : </span>
<select v-model="selectedCurriculum" @change="updateCourseList">
<option v-for="item in props.cursuslist" :value="item">Bac {{item.year}} {{item.option}}</option>
</select>
@ -57,28 +57,28 @@ function isExempted(course){
<div class="firstname">{{item.owner.firstName}}</div>
<div class="lastname">{{item.owner.lastName}}</div>
<div class="credits">credits : {{item.credits}}</div>
<div class="askexemption" v-if="!isExempted(item)"><button style="background-color:rgb(105,0,0);" @click="list= !list;exemptReq.courseId=item.courseId">Ask exemption</button></div>
<div v-else class="askexemption" style="font-size: 50%">Exempted</div>
<div class="askexemption" v-if="!isExempted(item)"><button style="background-color:rgb(105,0,0);" @click="list= !list;exemptReq.courseId=item.courseId">{{i18n("askexemp")}}</button></div>
<div v-else class="askexemption" style="font-size: 50%">{{ i18n("exemp") }}</div>
</div>
</div>
</div>
<div>
<button @click="windowState = 0">Back</button>
<button @click="windowState = 0">{{ i18n("courses.back")}}</button>
</div>
</div>
<div v-if="list === false" class="infosContainer">
<p>Please upload the justification document for the exemption </p>
<p>{{ i18n("uploadjustifdoc") }} </p>
<div>
<label class="browser">
<input type="file" @change="ppData.value = $event.target.files" accept="image/*" ref="filepath">
</label>
</div>
<button style="margin-top: 3%" @click="postExemptionRequest(ppData.value, 'JustificationDocument');">
Submit exemption request
{{ i18n("subexemreq") }}
</button>
</div>
<div v-if="list === false">
<button @click="list=!list">Back</button>
<button @click="list=!list">{{ i18n("courses.back") }}</button>
</div>
</template>