Fix most glaring bugs and vulnerabilities

This commit is contained in:
Luka Romih
2023-05-08 23:25:25 +02:00
parent 9867875ef2
commit d0e53fee3b
144 changed files with 2231 additions and 2981 deletions
@@ -168,7 +168,7 @@ mixin dictionary-description(dictionaryId)
option(
value=domain.id
selected=domain.id === dictionary.domainPrimary
)= domain.nameSl
)= domain.name
#invalid-section.invalid-feedback-selection.hidden-section.mt-3= t('Nimate izbranega področja CERIF.')
.col-sm.d-flex.align-items-center
span.d-md-inline.d-block.smaller-gray-info.ms-xxl-3.ms-md-3= t('Izberite področje svojega terminološkega slovarja na seznamu področij.')
@@ -184,9 +184,9 @@ mixin dictionary-description(dictionaryId)
)
each domain in allSecondaryDomains
if associatedSecondaryDomains.some(associatedDomain => associatedDomain.id === domain.id)
option(value=domain.id selected)= domain.nameSl
option(value=domain.id selected)= domain[`name${capitalize(determinedLanguage)}`]
else
option(value=domain.id)= domain.nameSl
option(value=domain.id)= domain[`name${capitalize(determinedLanguage)}`]
.col-sm.d-flex.align-items-center
span.d-md-inline.d-block.smaller-gray-info.ms-xxl-3.ms-md-3= t('Podpodročje.')