Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
ar
Commits
ad497506
Commit
ad497506
authored
Jul 16, 2020
by
Wolfgang Knopki
Browse files
test: added explanation
parent
8fe902fd
Pipeline
#7262
failed with stages
in 20 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ad497506
...
@@ -8,9 +8,14 @@ stages:
...
@@ -8,9 +8,14 @@ stages:
pages-test
:
pages-test
:
stage
:
test
stage
:
test
script
:
script
:
-
echo "Teste, ob Projektname gesetzt ist..."
-
(! grep 'projektname= ""' public/settings.js)
-
(! grep 'projektname= ""' public/settings.js)
-
echo "Teste, ob Projektseitenlink gesetzt ist..."
-
(! grep 'projektseitenlink= ""' public/settings.js)
-
(! grep 'projektseitenlink= ""' public/settings.js)
-
echo "Teste, ob Kontaktperson gesetzt ist..."
-
(! grep 'Max Mustermann' public/kontakt.html)
-
(! grep 'Max Mustermann' public/kontakt.html)
only
:
-
master
pages-master
:
pages-master
:
stage
:
deploy
stage
:
deploy
...
...
public/settings.js
View file @
ad497506
...
@@ -38,7 +38,7 @@ let topbar = document.getElementById("topbar");
...
@@ -38,7 +38,7 @@ let topbar = document.getElementById("topbar");
hftlogo
.
href
=
"
https://hft-stuttgart.de
"
;
hftlogo
.
href
=
"
https://hft-stuttgart.de
"
;
hftlogo
.
innerHTML
=
"
<img src='https://www.hft-stuttgart.de/typo3conf/ext/hft_sitepackage/Resources/Public/img/HFT_logo.svg'/>
"
;
hftlogo
.
innerHTML
=
"
<img src='https://www.hft-stuttgart.de/typo3conf/ext/hft_sitepackage/Resources/Public/img/HFT_logo.svg'/>
"
;
topbar
.
insertBefore
(
hftlogo
,
menu
);
topbar
.
insertBefore
(
hftlogo
,
menu
);
if
(
proje
c
tlogourl
!=
""
){
if
(
proje
k
tlogourl
!=
""
){
let
projectlogo
=
document
.
createElement
(
"
a
"
);
let
projectlogo
=
document
.
createElement
(
"
a
"
);
projectlogo
.
href
=
projektseitenlink
;
projectlogo
.
href
=
projektseitenlink
;
projectlogo
.
innerHTML
=
"
<img src='
"
+
projektlogourl
+
"
'/>
"
;
projectlogo
.
innerHTML
=
"
<img src='
"
+
projektlogourl
+
"
'/>
"
;
...
...
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