From 976c99f32e45bf1ebe62ed78aca6e38cb0d49f52 Mon Sep 17 00:00:00 2001 From: AlbertEngstfeld Date: Thu, 20 Jan 2022 17:05:03 +0100 Subject: [PATCH 1/3] Update TODOs and add corresponding links to issues. --- templates/pages/cv_entry.md | 53 +++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 20 deletions(-) diff --git a/templates/pages/cv_entry.md b/templates/pages/cv_entry.md index 5a85266e7..5c89c04db 100644 --- a/templates/pages/cv_entry.md +++ b/templates/pages/cv_entry.md @@ -12,28 +12,15 @@ from Figure in [{{ entry.citation('md') }}]({{ entry.source.url }}). - - + + {{ entry.plot(xunit='original', yunit='original')._repr_html_() }} -**Figure notes:** -The figure shows {{ entry.figure_description.type }} data. -{% if entry.figure_description.comment %} -Note from the curator: {{ entry.figure_description.comment }} -{% endif %} -
-Click to expand complete figure metadata (yaml). - -```yaml -{{ entry.figure_description.yaml }} -``` -
- - ## Further information **Preparation procedure** {% if entry.electrochemical_system.electrodes.working_electrode.preparation_procedure is defined %} @@ -43,25 +30,51 @@ The {{ entry.electrochemical_system.electrodes.working_electrode.material }}({{ Preparation procedure not available. {% endif %} +**Figure note** +The figure shows {{ entry.figure_description.type }} data. + +{% if entry.figure_description.comment %} +**Comment left by the curator on the published figure** +Note from the curator: {{ entry.figure_description.comment }} +{% endif %} + ## Metadata +Details on the electrochemical system:
-Click to expand metadata (yaml). +Click to expand (yaml) ```yaml {{ entry.electrochemical_system.yaml }} ```
-## Bibliography +Bibtex citation key:
-Bibliography (bibtex). Click to expand. +Click to expand (bibtex) ```bibtex {{ entry.bibliography.to_string('bibtex') }} ```
+Details about the original figure in the publicaton: +
+Click to expand (yaml). + +```yaml +{{ entry.figure_description.yaml }} +``` +
+ +Details about the curators of this entry: +
+Click to expand (yaml). + +```yaml +{{ entry.curator.yaml }} +``` +
---- - + From 036ebab616c6619225195d1e109d98dc79649ef1 Mon Sep 17 00:00:00 2001 From: AlbertEngstfeld Date: Thu, 20 Jan 2022 17:07:36 +0100 Subject: [PATCH 2/3] Rearrange items --- templates/pages/cv_entry.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/pages/cv_entry.md b/templates/pages/cv_entry.md index 5c89c04db..c29fdc5f4 100644 --- a/templates/pages/cv_entry.md +++ b/templates/pages/cv_entry.md @@ -22,19 +22,18 @@ in --> ## Further information -**Preparation procedure** +The figure shows {{ entry.figure_description.type }} data. + {% if entry.electrochemical_system.electrodes.working_electrode.preparation_procedure is defined %} +**Preparation procedure** The {{ entry.electrochemical_system.electrodes.working_electrode.material }}({{ entry.electrochemical_system.electrodes.working_electrode.crystallographic_orientation }}) electrode was prepared by: {{ entry.electrochemical_system.electrodes.working_electrode.preparation_procedure }} {% else %} Preparation procedure not available. {% endif %} -**Figure note** -The figure shows {{ entry.figure_description.type }} data. - {% if entry.figure_description.comment %} -**Comment left by the curator on the published figure** +**Comment left by the curator on the published figure** Note from the curator: {{ entry.figure_description.comment }} {% endif %} From f937abcb53647e96fec91440760f8120bc9af3f8 Mon Sep 17 00:00:00 2001 From: AlbertEngstfeld Date: Thu, 20 Jan 2022 17:14:46 +0100 Subject: [PATCH 3/3] Some more minor tweaks --- templates/pages/cv_entry.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/pages/cv_entry.md b/templates/pages/cv_entry.md index c29fdc5f4..1bd20b391 100644 --- a/templates/pages/cv_entry.md +++ b/templates/pages/cv_entry.md @@ -24,8 +24,8 @@ in ## Further information The figure shows {{ entry.figure_description.type }} data. -{% if entry.electrochemical_system.electrodes.working_electrode.preparation_procedure is defined %} **Preparation procedure** +{% if entry.electrochemical_system.electrodes.working_electrode.preparation_procedure is defined %} The {{ entry.electrochemical_system.electrodes.working_electrode.material }}({{ entry.electrochemical_system.electrodes.working_electrode.crystallographic_orientation }}) electrode was prepared by: {{ entry.electrochemical_system.electrodes.working_electrode.preparation_procedure }} {% else %} @@ -34,7 +34,7 @@ Preparation procedure not available. {% if entry.figure_description.comment %} **Comment left by the curator on the published figure** -Note from the curator: {{ entry.figure_description.comment }} +{{ entry.figure_description.comment }} {% endif %} ## Metadata