diff --git a/public/content/content.json b/public/content/content.json index 6995d38731c4580388fa10779bae4335c17e94af..7f8b260f831dd070e0bc6b12c43526a7c386bf8d 100644 --- a/public/content/content.json +++ b/public/content/content.json @@ -5,7 +5,8 @@ "project": "Hackathon", "author": { "firstName": "Joe", - "lastName": "T. Santhanavanich" + "lastName": "T. Santhanavanich", + "hftURL": "https://www.hft-stuttgart.de/p/thunyathep-santhanavanich" }, "project_year_start": "2019", "project_year_end": "2019", @@ -27,7 +28,8 @@ "project": "ICity Project", "author": { "firstName": "Joe", - "lastName": "T. Santhanavanich" + "lastName": "T. Santhanavanich", + "hftURL": "https://www.hft-stuttgart.de/p/thunyathep-santhanavanich" }, "project_year_start": "2018", "project_year_end": "2021", @@ -49,7 +51,8 @@ "project": "iCity Project", "author": { "firstName": "Joe", - "lastName": "T. Santhanavanich" + "lastName": "T. Santhanavanich", + "hftURL": "https://www.hft-stuttgart.de/p/thunyathep-santhanavanich" }, "project_year_start": "2020", "project_year_end": "2022", @@ -70,7 +73,8 @@ "project": "iCity Project", "author": { "firstName": "Sven", - "lastName": "Schneider" + "lastName": "Schneider", + "hftURL": "https://www.hft-stuttgart.de/p/Sven-Schneider" }, "project_year_start": "2018", "project_year_end": "2021", @@ -91,7 +95,8 @@ "project": "Master Thesis", "author": { "firstName": "Justin ", - "lastName": "Jing Hui" + "lastName": "Jing Hui", + "hftURL": "#" }, "project_year_start": "2020", "project_year_end": "2021", @@ -112,7 +117,8 @@ "project": "M4_Lab", "author": { "firstName": "Patrick", - "lastName": "Würstle" + "lastName": "Würstle", + "hftURL": "https://www.hft-stuttgart.de/p/patrick-wuerstle" }, "project_year_start": "2018", "project_year_end": "2024", @@ -133,7 +139,8 @@ "project": "SmartVillages", "author": { "firstName": "Patrick", - "lastName": "Würstle" + "lastName": "Würstle", + "hftURL": "https://www.hft-stuttgart.de/p/patrick-wuerstle" }, "project_year_start": "2018", "project_year_end": "2020", diff --git a/public/js/add_content.js b/public/js/add_content.js index 133788442726d33d813b36385efb241d82f5e6c3..651d0d22e4fdb0cc067a2faa50fbe06baf09e2d3 100644 --- a/public/js/add_content.js +++ b/public/js/add_content.js @@ -41,7 +41,7 @@ function addcontent(item){ description + '<br>' + '<b><i class="fas fa-user"></i>' + lang_cont_person + '</b>: <a ' + - ' href="https://www.hft-stuttgart.de/p/'+ replaceUmlauts(item.item.author.firstName) +'-' + replaceUmlauts(item.item.author.lastName) + ' "> ' + item.item.author.firstName + + ' href="'+ item.item.author.hftURL +'" target ="_blank"> ' + item.item.author.firstName + ' ' + item.item.author.lastName + '</a> <br>' + '<b><i class="fas fa-star"></i>' + lang_keywords + '</b>: ' + item.item.keywords.join(', ') + '</br>' + ExploreHTML + ' ' +