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,25 +7,12 @@
\vspace{<<design.margins.entry_area.vertical_between>>} \vspace{<<design.margins.entry_area.vertical_between>>}
((* endif *)) ((* endif *))
((* if date_and_location_strings == ["", "", ""] or date_and_location_strings == ["", ""] *)) ((* if entry.date_string or entry.location *))
\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 *))
\begin{twocolentry}{ \begin{twocolentry}{
<<date_and_location_strings|join("\n\n")>> <<date_and_location_strings|join("\n\n")>>
} }
\textbf{<<entry.company>>}, <<entry.position>> \textbf{<<entry.company>>}, <<entry.position>>
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\begin{highlights} \begin{highlights}
((* endif *)) ((* endif *))
@ -33,6 +20,19 @@
((* if loop.last *)) ((* if loop.last *))
\end{highlights} \end{highlights}
((* endif *)) ((* endif *))
((* endfor *)) ((* endfor *))
\end{twocolentry} \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 *)) ((* endif *))

View File

@ -7,25 +7,12 @@
\vspace{<<design.margins.entry_area.vertical_between>>} \vspace{<<design.margins.entry_area.vertical_between>>}
((* endif *)) ((* endif *))
((* if date_and_location_strings == ["", "", ""] or date_and_location_strings == ["", ""] *)) ((* if entry.date_string or entry.location *))
\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 *))
\begin{twocolentry}{ \begin{twocolentry}{
<<date_and_location_strings|join("\n\n")>> <<date_and_location_strings|join("\n\n")>>
} }
\textbf{<<entry.name>>} \textbf{<<entry.name>>}
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\begin{highlights} \begin{highlights}
((* endif *)) ((* endif *))
@ -33,6 +20,19 @@
((* if loop.last *)) ((* if loop.last *))
\end{highlights} \end{highlights}
((* endif *)) ((* endif *))
((* endfor *)) ((* endfor *))
\end{twocolentry} \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 *)) ((* endif *))