From 7dce6a9a34eacf438c384b30fa52fad48b3daa7e Mon Sep 17 00:00:00 2001 From: Rosanny Date: Tue, 7 Sep 2021 15:41:47 +0200 Subject: [PATCH 1/2] minor update --- app.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app.ts b/app.ts index 6e81a96..1dde1db 100644 --- a/app.ts +++ b/app.ts @@ -85,5 +85,4 @@ app.use(function (err:any, req:any, res:any, next:any) { app.listen(app.get('port'), function () { console.log('Project Page listening on port ' + app.get('port')) - console.log(__dirname) }) \ No newline at end of file -- GitLab From e554602e8d40b7ddbeb24695b18e66f6e6dd4abc Mon Sep 17 00:00:00 2001 From: Rosanny Date: Tue, 7 Sep 2021 15:42:21 +0200 Subject: [PATCH 2/2] update Projektinformationen URLs --- routes/project.ts | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/routes/project.ts b/routes/project.ts index 1138257..52bcb41 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) { -- GitLab