Commit ad497506 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

test: added explanation

parent 8fe902fd
Pipeline #7262 failed with stages
in 20 seconds
...@@ -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
......
...@@ -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(projectlogourl != ""){ if(projektlogourl != ""){
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 + "'/>";
......
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