fix link_text bug

This commit is contained in:
Sina Atalay 2023-10-15 18:52:55 +02:00
parent 837bdb114b
commit 9a632115ca
1 changed files with 3 additions and 1 deletions

View File

@ -369,7 +369,7 @@ class ClassicThemeOptions(BaseModel):
) )
date_and_location_width: LaTeXDimension = Field( date_and_location_width: LaTeXDimension = Field(
default="3.7 cm", default="3.6 cm",
title="Date and Location Column Width", title="Date and Location Column Width",
description="The width of the date and location column.", description="The width of the date and location column.",
examples=["1.35 cm", "1 in", "12 pt", "14 mm", "2 ex", "3 em"], examples=["1.35 cm", "1 in", "12 pt", "14 mm", "2 ex", "3 em"],
@ -1187,6 +1187,8 @@ class CurriculumVitae(BaseModel):
link_text = "Score Report" link_text = "Score Report"
elif section_name == "Certificates": elif section_name == "Certificates":
link_text = "Certificate" link_text = "Certificate"
else:
link_text = None
else: else:
# If the section is not pre-defined, then it is a custom section. # If the section is not pre-defined, then it is a custom section.
# Find the corresponding custom section and get its entries: # Find the corresponding custom section and get its entries: