fix naming for study specialization
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
faculty_id, faculty_color, language, assignment_document, citation_file,
|
||||
|
||||
// document info
|
||||
title, author, author_pronouns, supervisor, consultant, study_programme, study_branch,
|
||||
title, author, author_pronouns, supervisor, consultant, study_programme, study_specialization,
|
||||
year_of_study, abstract_content, acknowledgement_content, keywords,
|
||||
|
||||
content
|
||||
@@ -31,8 +31,8 @@
|
||||
|
||||
assert_not_none(study_programme, "study programme");
|
||||
assert_dict_has((language,), study_programme, "study programme");
|
||||
assert_not_none(study_branch, "study branch");
|
||||
assert_dict_has((language,), study_branch, "study branch");
|
||||
assert_not_none(study_specialization, "study specialization");
|
||||
assert_dict_has((language,), study_specialization, "study specialization");
|
||||
|
||||
assert_not_none(abstract_content, "abstract");
|
||||
assert_dict_has(force_langs, abstract_content, "abstract");
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
mainpage(
|
||||
faculty_id, language, "bp", title, author, supervisor, consultant, study_programme,
|
||||
study_branch, year_of_study,
|
||||
study_specialization, year_of_study,
|
||||
);
|
||||
assignment(language, assignment_document);
|
||||
default_styling(false, faculty_color, {
|
||||
|
@@ -13,7 +13,7 @@
|
||||
language, faculty_id, document_type, citation_file, assignment_document,
|
||||
|
||||
// document info
|
||||
title, author, author_pronouns, supervisor, consultant, study_programme, study_branch,
|
||||
title, author, author_pronouns, supervisor, consultant, study_programme, study_specialization,
|
||||
year_of_study, abstract, acknowledgement, keywords,
|
||||
|
||||
// content
|
||||
@@ -28,7 +28,7 @@
|
||||
assert_in_dict(document_type, document_types, "document type");
|
||||
map_none(title, (v) => assert_dict_has((language,), v, "title"));
|
||||
map_none(study_programme, (v) => assert_dict_has((language,), v, "study programme"));
|
||||
map_none(study_branch, (v) => assert_dict_has((language,), v, "study branch"));
|
||||
map_none(study_specialization, (v) => assert_dict_has((language,), v, "study specialization"));
|
||||
map_none(acknowledgement, (v) => assert_dict_has((language,), v, "acknowledgement content"));
|
||||
|
||||
document_types.at(document_type)(
|
||||
@@ -43,7 +43,7 @@
|
||||
supervisor,
|
||||
consultant,
|
||||
study_programme,
|
||||
study_branch,
|
||||
study_specialization,
|
||||
year_of_study,
|
||||
abstract,
|
||||
acknowledgement,
|
||||
|
@@ -135,7 +135,7 @@
|
||||
faculty_id,
|
||||
language,
|
||||
document_type,
|
||||
title, author, supervisor, consultant, study_programme, study_branch, year_of_study,
|
||||
title, author, supervisor, consultant, study_programme, study_specialization, year_of_study,
|
||||
) = {
|
||||
let info_name_value_padding = 5em;
|
||||
let info_name_min_width = 10em;
|
||||
@@ -161,7 +161,7 @@
|
||||
("supervisor", person_info(supervisor, "supervisor"), false),
|
||||
("consultant", person_info(consultant, "consultant"), false),
|
||||
("study_programme", study_programme, false),
|
||||
("study_branch", study_branch, false),
|
||||
("study_specialization", study_specialization, false),
|
||||
("year_of_study", map_none(year_of_study, (v) => str(v) + "."), false),
|
||||
)
|
||||
context {
|
||||
@@ -197,7 +197,7 @@
|
||||
faculty_id,
|
||||
language,
|
||||
document_type,
|
||||
title, author, supervisor, consultant, study_programme, study_branch, year_of_study,
|
||||
title, author, supervisor, consultant, study_programme, study_specialization, year_of_study,
|
||||
) = {
|
||||
import "../utils.typ": has_all_none, map_none
|
||||
let nonetype = type(none);
|
||||
@@ -212,7 +212,7 @@
|
||||
info(
|
||||
faculty_id, language, document_type, map_none(title, (v) => v.at(language)),
|
||||
author, supervisor, consultant, map_none(study_programme, (v) => v.at(language)),
|
||||
map_none(study_branch, (v) => v.at(language)), year_of_study,
|
||||
map_none(study_specialization, (v) => v.at(language)), year_of_study,
|
||||
);
|
||||
v(5em);
|
||||
}, bottom);
|
||||
|
@@ -20,7 +20,7 @@
|
||||
faculty_id, faculty_color, language, assignment_document, citation_file,
|
||||
|
||||
// document info
|
||||
title, author, author_pronouns, supervisor, consultant, study_programme, study_branch,
|
||||
title, author, author_pronouns, supervisor, consultant, study_programme, study_specialization,
|
||||
year_of_study, abstract_content, acknowledgement_content, keywords,
|
||||
|
||||
content
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
assert_not_none(study_programme, "study programme");
|
||||
assert_dict_has((language,), study_programme, "study programme");
|
||||
map_none(study_branch, (v) => assert_dict_has((language,), v, "study branch"));
|
||||
map_none(study_specialization, (v) => assert_dict_has((language,), v, "study specialization"));
|
||||
|
||||
assert_not_none(abstract_content, "abstract");
|
||||
assert_dict_has(force_langs, abstract_content, "abstract");
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
mainpage(
|
||||
faculty_id, language, "dp", title, author, supervisor, consultant, study_programme,
|
||||
study_branch, year_of_study,
|
||||
study_specialization, year_of_study,
|
||||
);
|
||||
assignment(language, assignment_document);
|
||||
default_styling(false, faculty_color, {
|
||||
|
@@ -19,7 +19,7 @@
|
||||
faculty_id, faculty_color, language, assignment_document, citation_file,
|
||||
|
||||
// document info
|
||||
title, author, _, supervisor, consultant, study_programme, study_branch, year_of_study,
|
||||
title, author, _, supervisor, consultant, study_programme, study_specialization, year_of_study,
|
||||
abstract_content, _, keywords,
|
||||
|
||||
content
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
mainpage(
|
||||
faculty_id, language, none, title, author, supervisor, consultant, study_programme,
|
||||
study_branch, year_of_study,
|
||||
study_specialization, year_of_study,
|
||||
);
|
||||
default_styling(true, faculty_color, {
|
||||
toc(language);
|
||||
|
Reference in New Issue
Block a user