From c26cd011c85adb17a87a1561c2a84c91342b89f4 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Sun, 10 Sep 2017 06:49:38 +0200 Subject: [PATCH] Tex again --- .../submissions/_report_tex_template.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/submissions/templates/submissions/_report_tex_template.html b/submissions/templates/submissions/_report_tex_template.html index 0a79b0ead..6ff53deac 100644 --- a/submissions/templates/submissions/_report_tex_template.html +++ b/submissions/templates/submissions/_report_tex_template.html @@ -17,8 +17,8 @@ \fancypagestyle{SPstyle}{ \fancyhf{} \lhead{\raisebox{-1.5mm}[0pt][0pt]{\href{https://scipost.org}{\includegraphics[width=20mm]{logo_scipost_with_bgd.pdf}}}} - {% if report.doi_string %} + \rhead{\small \href{https://scipost.org{{report.doi_string|safe_tex_url}} }{ {{report.doi_string|safe_tex_url}} ({{report.date_submitted|date:'Y'}})}} {% endif %} @@ -44,18 +44,16 @@ Report nr {{report.report_nr}} on Submission {{ report.submission.arxiv_identifi Report by {% if report.anonymous %}Anonymous{% else %}{{report.author.user.first_name}} {{report.author.user.last_name}}\textsuperscript{1}{% endif %} } \end{center} - {% if not report.anonymous %} - \begin{center} - %%%%%%%%%% AFFILIATIONS - {\bf 1} {{report.author.affiliation}}\\ - \end{center} -{% endif %} +\begin{center} +%%%%%%%%%% AFFILIATIONS +{\bf 1} {{report.author.affiliation}}\\ +\end{center} +{% endif %} \vspace{10pt} - \begin{center} \begin{tabular}{lr} \begin{minipage}{0.5\textwidth} @@ -74,7 +72,7 @@ Published by the SciPost Foundation. %%%%%%%%%% DATES {\small Received {{report.date_submitted|date:'d-m-Y'}} {% if report.doi_string %} - \doi{{{report.doi_string|safe_tex_url}}} + \doi{ {{report.doi_string|safe_tex_url}} } {% endif %} } \end{minipage} -- GitLab