diff --git a/routes/project.ts b/routes/project.ts index 1138257b1567d70d6cf6f11e762ca9c3ec1d2853..52bcb4125d42b98286901cd71b13d53393bb65ae 100644 --- a/routes/project.ts +++ b/routes/project.ts @@ -137,23 +137,8 @@ module.exports = function (app:any, lang:string) { if (pagesData[i].description == "") { pagesData[i].description = "- no description -" } - // customized website name - if (pagesData[i].name == "Visualization") { - //todo: update URL - user? group? - pagesData[i].web_url = "https://transfer.hft-stuttgart.de/pages/visualization" - } - else if (pagesData[i].name == "IN-Source") { - //todo: update URL - pagesData[i].web_url = "https://transfer.hft-stuttgart.de/pages/INsource" - } - else if (pagesData[i].name == "3DS_Visualization_Cesium") { - //todo: update URL - pagesData[i].web_url = "https://transfer.hft-stuttgart.de/pages/3ds_visualization_cesium" - } - else { - //todo: update URL - pagesData[i].web_url = "https://transfer.hft-stuttgart.de/pages/"+pagesData[i].name - } + // https://transfer.hft-stuttgart.de/pages/EIGENTUEMER/PROJEKTNAME/ + pagesData[i].web_url = "https://transfer.hft-stuttgart.de/pages/"+pagesData[i].namespace.path+"/"+pagesData[i].name+"/" // remove 'website' from tag list let index = pagesData[i].tag_list.indexOf('website') if (index > -1) {