CJVT updates August and September 2026
This commit is contained in:
@@ -11,7 +11,8 @@ block body
|
||||
- const d = { selection: 'change-profile-data' }
|
||||
+sideNavigation(d)
|
||||
include /utilities/dictionaries-main-panel-header
|
||||
- const c = { sideMenu: true, h1: title, description: t('Tukaj lahko spremenite ime, priimek in elektronski naslov uporabnika.'), buttons: [{ type: 'disabled', content: t('Shrani'), form: 'profileForm' }] }
|
||||
- const ssoDescription = t('Ta račun je bil ustvarjen s prijavo prek Univerze v Ljubljani, zato osebnih podatkov (ime, priimek, uporabniško ime, e-poštni naslov) tukaj ni mogoče spreminjati.')
|
||||
- const c = { sideMenu: true, h1: title, description: user.isSso ? ssoDescription : t('Tukaj lahko spremenite ime, priimek in elektronski naslov uporabnika.'), buttons: user.isSso ? [] : [{ type: 'disabled', content: t('Shrani'), form: 'profileForm' }] }
|
||||
+mainHeader(c)
|
||||
|
||||
.content-hold-prerequisites
|
||||
@@ -43,6 +44,7 @@ block body
|
||||
name="firstName"
|
||||
minLength="1"
|
||||
value=user.firstName
|
||||
disabled=user.isSso
|
||||
)
|
||||
.invalid-feedback #{ t('Niste vpisali imena') }
|
||||
|
||||
@@ -59,6 +61,7 @@ block body
|
||||
name="lastName"
|
||||
minLength="1"
|
||||
value=user.lastName
|
||||
disabled=user.isSso
|
||||
)
|
||||
.invalid-feedback #{ t('Niste vpisali priimka.') }
|
||||
|
||||
@@ -75,6 +78,7 @@ block body
|
||||
name="email"
|
||||
minLength="1"
|
||||
value=user.email
|
||||
disabled=user.isSso
|
||||
)
|
||||
.invalid-feedback #{ t('Neveljavni elektronski naslov.') }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user