From 6d7eeb144a9f928cf3eec9cd03948e38c08af8c8 Mon Sep 17 00:00:00 2001 From: Paolo Boi Date: Tue, 28 Jul 2020 17:25:03 +0200 Subject: [PATCH 1/3] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..dd84ea7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. From 27178b23150c006bf757a3759fd606b8e0fa7b5d Mon Sep 17 00:00:00 2001 From: Paolo Boi Date: Tue, 28 Jul 2020 19:29:56 +0200 Subject: [PATCH 2/3] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ---------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index dd84ea7..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. From bcfdf5c9f233272867277ce7e219266c932f4d45 Mon Sep 17 00:00:00 2001 From: Paolo Boi Date: Tue, 28 Jul 2020 19:37:15 +0200 Subject: [PATCH 3/3] Fixed table align Added new command for cvsubentry description building --- awesome-cv.cls | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index c26c775..f624314 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -614,6 +614,21 @@ }{% \end{center} } +% Define a command for string equality checking +\makeatletter +\newcommand{\streqtest}[2]{% + \ifnum\pdfstrcmp{#1}{#2}=\z@ + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi} +\makeatother +% Define a command for cv subentry description building +\newcommand{\cvsubentrydescbuilder}[1]{% + \streqtest{#1}{}% + {} + {\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#1}}\\ } +} % Define a subentry of cv information % Usage: \cvsubentry{}{}{<date>}{<description>} \newcommand*{\cvsubentry}[4]{% @@ -622,13 +637,12 @@ \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}} \setlength\leftskip{0.2cm} \subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}} - {\subentrydatestyle{#3}}{} + {\subentrydatestyle{#3}} + {} \\ \ifthenelse{\equal{#1}{}} {} {\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\} - \ifthenelse{\equal{#4}{}} - {} - {\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\} + \cvsubentrydescbuilder{#4} \end{tabular*} }