Commit e554602e authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

update Projektinformationen URLs

parent 7dce6a9a
Showing with 2 additions and 17 deletions
+2 -17
...@@ -137,23 +137,8 @@ module.exports = function (app:any, lang:string) { ...@@ -137,23 +137,8 @@ module.exports = function (app:any, lang:string) {
if (pagesData[i].description == "") { if (pagesData[i].description == "") {
pagesData[i].description = "- no description -" pagesData[i].description = "- no description -"
} }
// customized website name // https://transfer.hft-stuttgart.de/pages/EIGENTUEMER/PROJEKTNAME/
if (pagesData[i].name == "Visualization") { pagesData[i].web_url = "https://transfer.hft-stuttgart.de/pages/"+pagesData[i].namespace.path+"/"+pagesData[i].name+"/"
//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
}
// remove 'website' from tag list // remove 'website' from tag list
let index = pagesData[i].tag_list.indexOf('website') let index = pagesData[i].tag_list.indexOf('website')
if (index > -1) { if (index > -1) {
......
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