Commit 83da63e2 authored by Patrick's avatar Patrick
Browse files

update link to profile

update small language setting
update content list
parent 658b868a
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
<h5 class="font-weight-bold mt-4 mb-3">Prof. Dr. Volker Coors</h5> <h5 class="font-weight-bold mt-4 mb-3">Prof. Dr. Volker Coors</h5>
<p class="text-uppercase blue-text"><strong>Lab Leader</strong></p> <p class="text-uppercase blue-text"><strong>Lab Leader</strong></p>
<a href="https://www.hft-stuttgart.de/p/volker-coors" target="_blank"> <a href="https://www.hft-stuttgart.de/p/volker-coors" target="_blank">
<button class="btn btn-primary btn-sm">See full profile</button> <button class="btn btn-primary btn-sm profile">See full profile</button>
</a> </a>
<p class="grey-text">Research topic: Smart Cities | OGC Standards | Sensors & IoT | 3D City Models | 3D Web Visualization | 3D Simulation | Big Data</p> <p class="grey-text">Research topic: Smart Cities | OGC Standards | Sensors & IoT | 3D City Models | 3D Web Visualization | 3D Simulation | Big Data</p>
<ul class="list-unstyled mb-0"> <ul class="list-unstyled mb-0">
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
<h5 class="font-weight-bold mt-4 mb-3">Joe T. Santhanavanich</h5> <h5 class="font-weight-bold mt-4 mb-3">Joe T. Santhanavanich</h5>
<p class="text-uppercase blue-text"><strong>Researcher</strong></p> <p class="text-uppercase blue-text"><strong>Researcher</strong></p>
<a href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich" target="_blank"> <a href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich" target="_blank">
<button class="btn btn-primary btn-sm">See full profile</button> <button class="btn btn-primary btn-sm profile">See full profile</button>
</a> </a>
<p class="grey-text">Research topic: Smart Cities | OGC Standards | Sensors & IoT | 3D City Models | 3D Web Visualization | 3D Simulation | Big Data</p> <p class="grey-text">Research topic: Smart Cities | OGC Standards | Sensors & IoT | 3D City Models | 3D Web Visualization | 3D Simulation | Big Data</p>
<ul class="list-unstyled mb-0"> <ul class="list-unstyled mb-0">
...@@ -343,7 +343,7 @@ ...@@ -343,7 +343,7 @@
<h5 class="font-weight-bold mt-4 mb-3">Rosanny S.</h5> <h5 class="font-weight-bold mt-4 mb-3">Rosanny S.</h5>
<p class="text-uppercase blue-text"><strong>Researcher</strong></p> <p class="text-uppercase blue-text"><strong>Researcher</strong></p>
<a href="https://www.hft-stuttgart.de/p/rosanny-sihombing" target="_blank"> <a href="https://www.hft-stuttgart.de/p/rosanny-sihombing" target="_blank">
<button class="btn btn-primary btn-sm">See full profile</button> <button class="btn btn-primary btn-sm profile">See full profile</button>
</a> </a>
<p class="grey-text">Research topic: Smart Cities | 3D City Models | 3D Web Visualization | AR/VR</p> <p class="grey-text">Research topic: Smart Cities | 3D City Models | 3D Web Visualization | AR/VR</p>
<ul class="list-unstyled mb-0"> <ul class="list-unstyled mb-0">
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
<h5 class="font-weight-bold mt-4 mb-3">Patrick Wuerstle</h5> <h5 class="font-weight-bold mt-4 mb-3">Patrick Wuerstle</h5>
<p class="text-uppercase blue-text"><strong>Researcher</strong></p> <p class="text-uppercase blue-text"><strong>Researcher</strong></p>
<a href="https://www.hft-stuttgart.de/p/patrick-wuerstle" target="_blank"> <a href="https://www.hft-stuttgart.de/p/patrick-wuerstle" target="_blank">
<button class="btn btn-primary btn-sm">See full profile</button> <button class="btn btn-primary btn-sm profile">See full profile</button>
</a> </a>
<p class="grey-text">Research topic: Smart Cities | OGC Standards | Participation Platform | 3D City Models | 3D Web Visualization | 3D Simulation | Big Data </p> <p class="grey-text">Research topic: Smart Cities | OGC Standards | Participation Platform | 3D City Models | 3D Web Visualization | 3D Simulation | Big Data </p>
<ul class="list-unstyled mb-0"> <ul class="list-unstyled mb-0">
......
function addcontent(item){ function addcontent(item){
var lang_cont_person = ""
var lang_keywords = ""
var new_row = document.getElementById("row_main") var new_row = document.getElementById("row_main")
if(item === undefined) { if(item === undefined) {
...@@ -15,8 +17,12 @@ function addcontent(item){ ...@@ -15,8 +17,12 @@ function addcontent(item){
var description = "" var description = ""
if (lang_setting == "1"){ if (lang_setting == "1"){
description = item.item.description_en description = item.item.description_en
lang_cont_person = " Contact Person"
lang_keywords = " Keywords"
} else if (lang_setting == "2"){ } else if (lang_setting == "2"){
description = item.item.description_de description = item.item.description_de
lang_cont_person = " Kontaktperson"
lang_keywords = " Stichworte"
} }
// Prepare Explore Link // Prepare Explore Link
// var array_contains_explore_link = true // var array_contains_explore_link = true
...@@ -34,10 +40,10 @@ function addcontent(item){ ...@@ -34,10 +40,10 @@ function addcontent(item){
'<p class="card-text-lg small">' + '<p class="card-text-lg small">' +
description + description +
'<br>' + '<br>' +
'<b><i class="fas fa-user"></i> Contact Person</b>: <a' + '<b><i class="fas fa-user"></i>' + lang_cont_person + '</b>: <a ' +
'href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich"> ' + item.item.author.firstName + ' href="https://www.hft-stuttgart.de/p/'+ replaceUmlauts(item.item.author.firstName) +'-' + replaceUmlauts(item.item.author.lastName) + ' "> ' + item.item.author.firstName +
' ' + item.item.author.lastName + '</a> <br>' + ' ' + item.item.author.lastName + '</a> <br>' +
'<b><i class="fas fa-star"></i> Keywords</b>: ' + item.item.keywords.join(', ') + '</br>' + '<b><i class="fas fa-star"></i>' + lang_keywords + '</b>: ' + item.item.keywords.join(', ') + '</br>' +
ExploreHTML + '&nbsp;' + ExploreHTML + '&nbsp;' +
YouTubeHTML + YouTubeHTML +
'</p>' + '</p>' +
...@@ -47,3 +53,11 @@ function addcontent(item){ ...@@ -47,3 +53,11 @@ function addcontent(item){
} }
} }
function replaceUmlauts(value)
{
value = value.replace('ä', 'ae');
value = value.replace('ö', 'oe');
value = value.replace('ü', 'ue');
return value;
}
\ No newline at end of file
...@@ -51,6 +51,12 @@ function language(lang){ ...@@ -51,6 +51,12 @@ function language(lang){
rgc_backtotop.innerHTML = "Back to top" rgc_backtotop.innerHTML = "Back to top"
rgc_button_next.innerHTML = "Next" rgc_button_next.innerHTML = "Next"
rgc_button_previous.innerHTML = "Previous" rgc_button_previous.innerHTML = "Previous"
var matches = document.getElementsByClassName('profile');
for (var i=0; i<matches.length; i++) {
matches[i].innerHTML = "See full profile"
}
} else if (lang == "2"){ } else if (lang == "2"){
rgc_about.innerHTML = "About" rgc_about.innerHTML = "About"
rgc_group.innerHTML = "Details über unsere Gruppe... " rgc_group.innerHTML = "Details über unsere Gruppe... "
...@@ -67,5 +73,11 @@ function language(lang){ ...@@ -67,5 +73,11 @@ function language(lang){
rgc_button_next.innerHTML = "Weiter" rgc_button_next.innerHTML = "Weiter"
rgc_button_previous.innerHTML = "Zurück" rgc_button_previous.innerHTML = "Zurück"
var matches = document.getElementsByClassName('profile');
for (var i=0; i<matches.length; i++) {
matches[i].innerHTML = "Vollständiges Profil ansehen"
}
} }
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment