classic: fix ExperienceEntry and NormalEntry without location and dates

This commit is contained in:
Sina Atalay 2024-04-28 15:27:02 +03:00
parent f5a2333af7
commit d184ff4190
2 changed files with 40 additions and 40 deletions

View File

@ -7,32 +7,32 @@
\vspace{<<design.margins.entry_area.vertical_between>>}
((* endif *))
((* if date_and_location_strings == ["", "", ""] or date_and_location_strings == ["", ""] *))
\begin{onecolentry}
\textbf{<<entry.company>>}, <<entry.position>>
((* for item in entry.highlights *))
((* if loop.first *))
\begin{highlights}
((* endif *))
\item <<item>>
((* if loop.last *))
\end{highlights}
((* endif *))
((* endfor *))
\end{onecolentry}
((* else *))
((* if entry.date_string or entry.location *))
\begin{twocolentry}{
<<date_and_location_strings|join("\n\n")>>
}
\textbf{<<entry.company>>}, <<entry.position>>
((* for item in entry.highlights *))
((* if loop.first *))
((* for item in entry.highlights *))
((* if loop.first *))
\begin{highlights}
((* endif *))
((* endif *))
\item <<item>>
((* if loop.last *))
((* if loop.last *))
\end{highlights}
((* endif *))
((* endfor *))
((* endif *))
((* endfor *))
\end{twocolentry}
((* else *))
\begin{onecolentry}
\textbf{<<entry.company>>}, <<entry.position>>
((* for item in entry.highlights *))
((* if loop.first *))
\begin{highlights}
((* endif *))
\item <<item>>
((* if loop.last *))
\end{highlights}
((* endif *))
((* endfor *))
\end{onecolentry}
((* endif *))

View File

@ -7,32 +7,32 @@
\vspace{<<design.margins.entry_area.vertical_between>>}
((* endif *))
((* if date_and_location_strings == ["", "", ""] or date_and_location_strings == ["", ""] *))
\begin{onecolentry}
\textbf{<<entry.name>>}
((* for item in entry.highlights *))
((* if loop.first *))
\begin{highlights}
((* endif *))
\item <<item>>
((* if loop.last *))
\end{highlights}
((* endif *))
((* endfor *))
\end{onecolentry}
((* else *))
((* if entry.date_string or entry.location *))
\begin{twocolentry}{
<<date_and_location_strings|join("\n\n")>>
}
\textbf{<<entry.name>>}
((* for item in entry.highlights *))
((* if loop.first *))
((* for item in entry.highlights *))
((* if loop.first *))
\begin{highlights}
((* endif *))
((* endif *))
\item <<item>>
((* if loop.last *))
((* if loop.last *))
\end{highlights}
((* endif *))
((* endfor *))
((* endif *))
((* endfor *))
\end{twocolentry}
((* else *))
\begin{onecolentry}
\textbf{<<entry.name>>}
((* for item in entry.highlights *))
((* if loop.first *))
\begin{highlights}
((* endif *))
\item <<item>>
((* if loop.last *))
\end{highlights}
((* endif *))
((* endfor *))
\end{onecolentry}
((* endif *))