1
0
forked from PGL/Clyde

Merge pull request 'Add the regNo in profile and aboutStudent' (#178) from regNoFix into master

Reviewed-on: PGL/Clyde#178
This commit is contained in:
LeoMoulin 2024-04-22 09:52:56 +02:00
commit 490bf403f0
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,9 @@
<div>
{{ i18n("firstname/name") }} : {{user.firstName}} {{user.lastName}}
</div>
<div>
{{ i18n("regNo") }} : {{user.regNo}}
</div>
<div>
{{ i18n("login.guest.email") }}: {{user.email}}
</div>

View File

@ -192,10 +192,10 @@
<div>
{{ i18n("login.guest.email") }}: {{user.email}}
</div>
<div v-if="user.role==='Student'">
<div>
{{ i18n("regNo") }} : {{user.regNo}}
</div>
<div v-else>
<div>
{{ i18n("role") }}: {{i18n((user.role))}}
</div>
<div>