Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
Project Page
Commits
e554602e
Commit
e554602e
authored
Sep 07, 2021
by
Rosanny Sihombing
Browse files
update Projektinformationen URLs
parent
7dce6a9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
routes/project.ts
View file @
e554602e
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment