From a6a14847510b845330e970dd3f5be6ee582b3d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20R=C3=B6wenstrunk?= Date: Mon, 2 Dec 2024 11:31:40 +0100 Subject: [PATCH] Abstract of CITATION.CFF in About window --- app/controller/window/about/AboutWindow.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controller/window/about/AboutWindow.js b/app/controller/window/about/AboutWindow.js index f223c49b6..4bc211e4d 100644 --- a/app/controller/window/about/AboutWindow.js +++ b/app/controller/window/about/AboutWindow.js @@ -46,6 +46,7 @@ Ext.define('EdiromOnline.controller.window.about.AboutWindow', { const citation = response.responseText; // find keys in citation + const abstract = String(citation.match(/^abstract:\s>-\n(\s+.*\n)+/gm)).replace(/^abstract:\s>-\n/, ''); const version = citation.match(/^version: (.*)/m)[1]; const title = citation.match(/^title: (.*)/m)[1]; const license = citation.match(/^license: (.*)/m)[1]; @@ -57,6 +58,7 @@ Ext.define('EdiromOnline.controller.window.about.AboutWindow', {

About ${title}

+

${abstract}

Version: ${version}

Release date: ${releaseDate}

DOI: ${doi}