Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
3 years ago
by
Rosanny Sihombing
Browse files
Options
Download
Email Patches
Plain Diff
update Projektinformationen URLs
parent
7dce6a9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
routes/project.ts
+2
-17
routes/project.ts
with
2 additions
and
17 deletions
+2
-17
routes/project.ts
+
2
-
17
View file @
e554602e
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets