forked from pencelheimer/typst_nure_template
lib.typ: too lazy to name it
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
39
lib.typ
39
lib.typ
@ -717,25 +717,28 @@
|
|||||||
#colbreak()
|
#colbreak()
|
||||||
#set align(right)
|
#set align(right)
|
||||||
|
|
||||||
#if mentors.len() == 1 {
|
#if type(mentors) == array {
|
||||||
let mentor = mentors.at(0)
|
if mentors.len() == 1 {
|
||||||
if "gender" in mentor.keys() {
|
let mentor = mentors.at(0)
|
||||||
if mentor.gender == "m" [Перевірив:\ ] else if (
|
if "gender" in mentor.keys() {
|
||||||
mentor.gender == "f"
|
if mentor.gender == "m" [Перевірив:\ ] else if (
|
||||||
) [Перевірила:\ ]
|
mentor.gender == "f"
|
||||||
} else [Перевірили:\ ]
|
) [Перевірила:\ ]
|
||||||
[
|
} else [Перевірили:\ ]
|
||||||
#mentor.name\
|
if (
|
||||||
|
"degree" in mentor.keys() and mentor.degree != none
|
||||||
|
) [#mentor.degree\ ]
|
||||||
|
[#mentor.name\ ]
|
||||||
|
} else if mentors.len() > 1 [
|
||||||
|
Перевірили:\
|
||||||
|
#for mentor in mentors {
|
||||||
|
[
|
||||||
|
#mentor.degree\
|
||||||
|
#mentor.name\
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
} else if mentors.len() > 1 [
|
}
|
||||||
Перевірили:\
|
|
||||||
#for mentor in mentors {
|
|
||||||
[
|
|
||||||
#mentor.degree\
|
|
||||||
#mentor.name\
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
|
|
||||||
#v(1fr)
|
#v(1fr)
|
||||||
|
Reference in New Issue
Block a user