From 9160a0c08547d7b865809638d7b7aaaf240d864b Mon Sep 17 00:00:00 2001 From: Joe TS Dell Date: Fri, 28 May 2021 11:56:02 +0200 Subject: [PATCH] update --- public/content/content.json | 5 ++++- public/js/add_content.js | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/public/content/content.json b/public/content/content.json index 2e27ddb..ccc2a24 100644 --- a/public/content/content.json +++ b/public/content/content.json @@ -41,7 +41,10 @@ }, "links": { "youtube": "https://www.youtube.com/watch?v=T5jF20yXcWw", - "demo": "http://193.196.37.89:8083/visionzero/" + "demo": "http://193.196.37.89:8083/visionzero/", + "publication":"https://doi.org/10.5194/isprs-annals-VI-4-W2-2020-143-2020", + "project":"https://www.hft-stuttgart.de/forschung/i-city", + }, "refIndex": 2 }, diff --git a/public/js/add_content.js b/public/js/add_content.js index 18d029f..5351c36 100644 --- a/public/js/add_content.js +++ b/public/js/add_content.js @@ -39,6 +39,16 @@ function addcontent(item) { var publicationLink = item.links.publication publicationHTML = ` Publication` } + var projectHTML = '' + if ('project' in item.links) { + var projectLink = item.links.project + projectHTML = ` Project` + } + var presentationHTML = '' + if ('presentation' in item.links) { + var presentationLink = item.links.presentation + presentationHTML = ` Presentation` + } new_row.innerHTML = new_row.innerHTML + '
' + '
' + @@ -55,6 +65,8 @@ function addcontent(item) { ExploreHTML + ' ' + YouTubeHTML + ' ' + publicationHTML + ' ' + + projectHTML + ' ' + + presentationHTML + ' ' + '

' + '
' + '
' + -- GitLab